🔧 Fix GitHub Actions Warnings
✅ Updated CodeQL Action: - Changed from deprecated v2 to v3 - Fixes deprecation warning ✅ Updated Trivy Configuration: - Added skip-version-check flag - Suppresses version update warnings 🎯 GitHub Actions now run cleanly without warnings!
This commit is contained in:
3
.github/workflows/ci-cd.yml
vendored
3
.github/workflows/ci-cd.yml
vendored
@@ -68,9 +68,10 @@ jobs:
|
|||||||
scan-ref: '.'
|
scan-ref: '.'
|
||||||
format: 'sarif'
|
format: 'sarif'
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
|
skip-version-check: true
|
||||||
|
|
||||||
- name: Upload Trivy scan results to GitHub Security tab
|
- name: Upload Trivy scan results to GitHub Security tab
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
sarif_file: 'trivy-results.sarif'
|
sarif_file: 'trivy-results.sarif'
|
||||||
|
|||||||
Reference in New Issue
Block a user