From 77c103d1ac5d8595781fe43fc7a3b3a0b84cbea3 Mon Sep 17 00:00:00 2001 From: jackdawm <123431751+jackdawm@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:20:33 -0400 Subject: [PATCH] Update Trivy action --- .github/actions/trivy/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/trivy/action.yml b/.github/actions/trivy/action.yml index a6bafe23..cc23942e 100644 --- a/.github/actions/trivy/action.yml +++ b/.github/actions/trivy/action.yml @@ -1,5 +1,5 @@ name: 'Trivy Action' -description: 'Docker Image Trivy security check combined action' +description: 'Run Trivy vulnerability scanner' inputs: image-tags: @@ -32,7 +32,8 @@ runs: output: 'trivy-${{ steps.vars.outputs.name }}-results.sarif' - name: Upload ${{ inputs.image-name }} image Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 + if: always() with: sarif_file: 'trivy-${{ steps.vars.outputs.name }}-results.sarif' category: trivy-${{ steps.vars.outputs.name }}-results