Skip to content

Commit

Permalink
Upload report even if Trivy scan failed
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm authored May 2, 2024
1 parent f4d9f97 commit 2d6e694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
severity: 'MEDIUM,CRITICAL,HIGH'
scanners: "vuln"
- name: upload trivy report
if: env.SKIP == '0'
if: env.SKIP == '0' && !cancelled()
uses: actions/upload-artifact@v4
with:
name: 'trivy-sbom-report-${{ matrix.package }}'
Expand Down

0 comments on commit 2d6e694

Please sign in to comment.