Skip to content

Commit 5ad7dc4

Browse files
committed
[CI][Trivy] Add to avoid skipping the step
1 parent fae8cc2 commit 5ad7dc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/trivy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: ./bin/trivy config --format json --output trivy-report.json --ignorefile=devops/.trivyignore.yaml devops/containers --exit-code 1
3131

3232
- name: Upload report artifact
33+
if: always() && !cancelled()
3334
uses: actions/upload-artifact@v4
3435
with:
3536
name: trivy-report

0 commit comments

Comments
 (0)