diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index dc616d3cd..4dd334612 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -47,6 +47,6 @@ jobs: publish_results: true - name: Upload SARIF to the Security tab - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 + uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 with: sarif_file: results.sarif diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 3a5192c59..2969fc9db 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -87,7 +87,7 @@ jobs: # missing-file error on top of the real outcome. - name: Upload SARIF to the Security tab if: always() && hashFiles('trivy-results.sarif') != '' - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 + uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 with: sarif_file: trivy-results.sarif category: trivy-published-image @@ -108,7 +108,7 @@ jobs: - name: Upload remote SARIF to the Security tab if: always() && hashFiles('trivy-results-remote.sarif') != '' - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 + uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 with: sarif_file: trivy-results-remote.sarif category: trivy-published-image-remote @@ -206,7 +206,7 @@ jobs: # hashFiles guard: no SARIF exists if the build failed before the scan. - name: Upload SARIF to the Security tab if: always() && hashFiles('trivy-results.sarif') != '' && github.event.pull_request.head.repo.full_name == github.repository - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 + uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 with: sarif_file: trivy-results.sarif category: trivy-published-image @@ -216,7 +216,7 @@ jobs: # scan is then skipped too. - name: Upload remote SARIF to the Security tab if: always() && hashFiles('trivy-results-remote.sarif') != '' && github.event.pull_request.head.repo.full_name == github.repository - uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0 + uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 with: sarif_file: trivy-results-remote.sarif category: trivy-published-image-remote