Skip to content

Commit

Permalink
ci: catch canceled in results job
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Dec 3, 2024
1 parent 35c7410 commit 3ba55db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ jobs:
if: always()
runs-on: ubuntu-24.04
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!"
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
if: always()
runs-on: ubuntu-24.04
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 3ba55db

Please sign in to comment.