diff --git a/.github/workflows/sonarcloud.yaml b/.github/workflows/sonarcloud.yaml index a345ec80f01..1dc859fafba 100644 --- a/.github/workflows/sonarcloud.yaml +++ b/.github/workflows/sonarcloud.yaml @@ -48,6 +48,6 @@ jobs: retention-days: 5 - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v2.2.1 + uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5 with: sarif_file: results.sarif diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index e06dcd52ffe..9f3e759f371 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -44,7 +44,7 @@ jobs: output: 'trivy-results.sarif' - name: Upload Trivy scan results to GitHub Security - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v3.27.5 if: always() with: sarif_file: 'trivy-results.sarif'