diff --git a/.github/workflows/release-arm.yaml b/.github/workflows/release-arm.yaml index d6f0a6e48..100c53a24 100644 --- a/.github/workflows/release-arm.yaml +++ b/.github/workflows/release-arm.yaml @@ -298,13 +298,13 @@ jobs: sudo mv build/*trivy.sarif trivy-sarif/ sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'grype-sarif' @@ -406,13 +406,13 @@ jobs: sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab if: startsWith(github.ref, 'refs/tags/') - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab if: startsWith(github.ref, 'refs/tags/') - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 with: sarif_file: 'grype-sarif' category: ${{ matrix.flavor }}-grype diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d37343907..083a84da2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -211,13 +211,13 @@ jobs: files: | release/* - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'grype-sarif' diff --git a/.github/workflows/reusable-build-flavor.yaml b/.github/workflows/reusable-build-flavor.yaml index ec9023e59..df25738b9 100644 --- a/.github/workflows/reusable-build-flavor.yaml +++ b/.github/workflows/reusable-build-flavor.yaml @@ -140,13 +140,13 @@ jobs: sudo mv release/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 with: sarif_file: 'trivy-sarif' category: ${{ inputs.flavor }}-${{ inputs.flavor_release }}-trivy - name: Upload Grype scan results to GitHub Security tab if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 with: sarif_file: 'grype-sarif' category: ${{ inputs.flavor }}-${{ inputs.flavor_release }}-grype diff --git a/.github/workflows/reusable-docker-arm-build.yaml b/.github/workflows/reusable-docker-arm-build.yaml index 888c52d82..1335b5e39 100644 --- a/.github/workflows/reusable-docker-arm-build.yaml +++ b/.github/workflows/reusable-docker-arm-build.yaml @@ -198,13 +198,13 @@ jobs: sudo mv build/*trivy.sarif trivy-sarif/ sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/v') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3 + uses: github/codeql-action/upload-sarif@8214744c546c1e5c8f03dde8fab3a7353211988d # v3 if: startsWith(github.ref, 'refs/tags/v') with: sarif_file: 'grype-sarif'