diff --git a/.github/workflows/trivy-pr-scan.yml b/.github/workflows/trivy-pr-scan.yml index 13970c3..004fb62 100644 --- a/.github/workflows/trivy-pr-scan.yml +++ b/.github/workflows/trivy-pr-scan.yml @@ -26,7 +26,7 @@ jobs: # We still fail the job if results are found, so below will always run # unless manually canceled. - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 if: '!cancelled()' with: sarif_file: 'trivy-results-fs.sarif' @@ -76,7 +76,7 @@ jobs: # We still fail the job if results are found, so below will always run # unless manually canceled. - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 if: '!cancelled()' with: sarif_file: 'trivy-results-img.sarif'