Fix workflow YAML

This commit is contained in:
Dax T. Games
2026-02-22 18:25:56 -05:00
parent f2bde614d4
commit 8c0e2c542c
2 changed files with 14 additions and 13 deletions

View File

@@ -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

View File

@@ -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') {