Skip to content

Commit

Permalink
ci: catch canceled in results job (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 3, 2024
1 parent 70407d6 commit e26ffb6
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 e26ffb6

Please sign in to comment.