Skip to content

Commit

Permalink
ci: catch canceled jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Dec 3, 2024
1 parent 29e7dc2 commit 8952079
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,7 +87,7 @@ jobs:
if: always()
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure')
- if: contains(needs.*.result, 'canceled|failure')
run: echo "At least one job has failed." && exit 1
- run: echo "Success!"

0 comments on commit 8952079

Please sign in to comment.