Skip to content

Commit

Permalink
Removed the faile step because it is handled internalliy (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimapin authored Feb 23, 2024
1 parent ec057a6 commit 4c55a76
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/check-trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 4c55a76

Please sign in to comment.