mirror of
https://github.com/cmderdev/cmder.git
synced 2026-02-25 06:26:08 +08:00
Fix workflow YAML
This commit is contained in:
23
.github/workflows/codeql.yml
vendored
23
.github/workflows/codeql.yml
vendored
@@ -52,17 +52,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$summary = @"
|
$summary = @"
|
||||||
## 🔒 CodeQL Security Analysis - Workflow Summary
|
## 🔒 CodeQL Security Analysis - Workflow Summary
|
||||||
|
|
||||||
### Analysis Configuration
|
### Analysis Configuration
|
||||||
|
|
||||||
| Property | Value |
|
| Property | Value |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| Repository | `${{ github.repository }}` |
|
| Repository | `${{ github.repository }}` |
|
||||||
| Branch | `${{ github.ref_name }}` |
|
| Branch | `${{ github.ref_name }}` |
|
||||||
| Language | `${{ matrix.language }}` |
|
| Language | `${{ matrix.language }}` |
|
||||||
| Commit | `${{ github.sha }}` |
|
| Commit | `${{ github.sha }}` |
|
||||||
|
|
||||||
"@
|
"@
|
||||||
|
|
||||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
@@ -91,11 +92,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$summary = @"
|
$summary = @"
|
||||||
### ✅ Build Completed
|
### ✅ Build Completed
|
||||||
|
|
||||||
Cmder launcher built successfully for CodeQL analysis.
|
Cmder launcher built successfully for CodeQL analysis.
|
||||||
|
|
||||||
"@
|
"@
|
||||||
|
|
||||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
@@ -107,14 +108,14 @@ jobs:
|
|||||||
if: success()
|
if: success()
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
$summary = @(
|
$summary = @"
|
||||||
### 🔍 CodeQL Analysis Results
|
### 🔍 CodeQL Analysis Results
|
||||||
|
|
||||||
✅ CodeQL security analysis completed successfully.
|
✅ CodeQL security analysis completed successfully.
|
||||||
|
|
||||||
**Language analyzed:** `${{ matrix.language }}`
|
**Language analyzed:** `${{ matrix.language }}`
|
||||||
|
|
||||||
> Check the Security tab for detailed findings and recommendations.
|
> Check the Security tab for detailed findings and recommendations.
|
||||||
"@
|
"@
|
||||||
|
|
||||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
4
.github/workflows/vendor.yml
vendored
4
.github/workflows/vendor.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
🔍 Checking for vendor dependency updates...
|
🔍 Checking for vendor dependency updates...
|
||||||
|
|
||||||
"@
|
"@
|
||||||
|
|
||||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- id: make-changes
|
- id: make-changes
|
||||||
@@ -269,7 +269,7 @@ jobs:
|
|||||||
**Branch:** `update-vendor`
|
**Branch:** `update-vendor`
|
||||||
|
|
||||||
$env:LIST_UPDATED -and "**Updated dependencies:** $env:LIST_UPDATED" -or "**Updated dependencies:**
|
$env:LIST_UPDATED -and "**Updated dependencies:** $env:LIST_UPDATED" -or "**Updated dependencies:**
|
||||||
|
|
||||||
"@
|
"@
|
||||||
|
|
||||||
if ($env:HAS_BREAKING_CHANGES -eq 'True') {
|
if ($env:HAS_BREAKING_CHANGES -eq 'True') {
|
||||||
|
|||||||
Reference in New Issue
Block a user