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: |
|
||||
$summary = @"
|
||||
## 🔒 CodeQL Security Analysis - Workflow Summary
|
||||
|
||||
|
||||
### Analysis Configuration
|
||||
|
||||
|
||||
| Property | Value |
|
||||
| --- | --- |
|
||||
| Repository | `${{ github.repository }}` |
|
||||
| Branch | `${{ github.ref_name }}` |
|
||||
| Language | `${{ matrix.language }}` |
|
||||
| Commit | `${{ github.sha }}` |
|
||||
|
||||
|
||||
"@
|
||||
|
||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
@@ -91,11 +92,11 @@ jobs:
|
||||
run: |
|
||||
$summary = @"
|
||||
### ✅ Build Completed
|
||||
|
||||
|
||||
Cmder launcher built successfully for CodeQL analysis.
|
||||
|
||||
|
||||
"@
|
||||
|
||||
|
||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
@@ -107,14 +108,14 @@ jobs:
|
||||
if: success()
|
||||
shell: pwsh
|
||||
run: |
|
||||
$summary = @(
|
||||
$summary = @"
|
||||
### 🔍 CodeQL Analysis Results
|
||||
|
||||
|
||||
✅ CodeQL security analysis completed successfully.
|
||||
|
||||
|
||||
**Language analyzed:** `${{ matrix.language }}`
|
||||
|
||||
|
||||
> Check the Security tab for detailed findings and recommendations.
|
||||
"@
|
||||
|
||||
|
||||
$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...
|
||||
|
||||
"@
|
||||
|
||||
|
||||
$summary | Add-Content -Path $env:GITHUB_STEP_SUMMARY
|
||||
|
||||
- id: make-changes
|
||||
@@ -269,7 +269,7 @@ jobs:
|
||||
**Branch:** `update-vendor`
|
||||
|
||||
$env:LIST_UPDATED -and "**Updated dependencies:** $env:LIST_UPDATED" -or "**Updated dependencies:**
|
||||
|
||||
|
||||
"@
|
||||
|
||||
if ($env:HAS_BREAKING_CHANGES -eq 'True') {
|
||||
|
||||
Reference in New Issue
Block a user