Skip to content

Commit

Permalink
ci(fix): catch canceled jobs (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 4, 2024
1 parent 044ea4c commit 989f778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ jobs:
needs: [tests] # Restore trivy when/if fixed
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'canceled|failure')
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: echo "At least one job has failed." && exit 1
- run: echo "Success!"

0 comments on commit 989f778

Please sign in to comment.