From 4c55a76723a31b8f6c1d9fdfb160fbc3609c9cf5 Mon Sep 17 00:00:00 2001 From: Dimitrij Pinneker Date: Fri, 23 Feb 2024 16:45:19 +0100 Subject: [PATCH] Removed the faile step because it is handled internalliy (#18) --- .github/workflows/check-trivy.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/check-trivy.yaml b/.github/workflows/check-trivy.yaml index a4a6574..f2d28df 100644 --- a/.github/workflows/check-trivy.yaml +++ b/.github/workflows/check-trivy.yaml @@ -51,12 +51,6 @@ jobs: exit-code: ${{ inputs.fail_on_vulnerabilites && 1 || 0}} ignore-unfixed: ${{ inputs.ignore-unfixed }} - - name: Trivy explanation - if: ${{ failure() }} - run: | - echo "::error::Trivy step failed. This probably means there is at least one vulnerability with severity ${{ inputs.severity }}. They are visible in the GitHub Security tab (set the filter to the correct branch)" - exit 1 - - name: Override location of findings if: ${{ always() && inputs.report_location != '' }} run: |