diff --git a/.github/workflows/release-arm.yaml b/.github/workflows/release-arm.yaml index 4b3ea45e6..17b7d9d6d 100644 --- a/.github/workflows/release-arm.yaml +++ b/.github/workflows/release-arm.yaml @@ -249,13 +249,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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'grype-sarif' @@ -360,13 +360,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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3 with: sarif_file: 'grype-sarif' category: ${{ matrix.flavor }}-grype diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1d5d0cc0f..f6fb5b6ed 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -242,13 +242,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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 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 34f62b342..907e3465c 100644 --- a/.github/workflows/reusable-build-flavor.yaml +++ b/.github/workflows/reusable-build-flavor.yaml @@ -152,13 +152,13 @@ jobs: sudo mv *grype.sarif grype-results/ - 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3 with: sarif_file: 'trivy-results' 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3 with: sarif_file: 'grype-results' 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 e42e8ce3d..b09dba770 100644 --- a/.github/workflows/reusable-docker-arm-build.yaml +++ b/.github/workflows/reusable-docker-arm-build.yaml @@ -164,13 +164,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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # 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@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3 if: startsWith(github.ref, 'refs/tags/v') with: sarif_file: 'grype-sarif'