Skip to content

Commit

Permalink
fix(ci): catch canceled jobs (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 4, 2024
1 parent 01d260d commit 56b0a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# View results
echo "needs.*.result: ${{ toJson(needs.*.result) }}"
- if: contains(needs.*.result, 'canceled|failure')
- if: contains(needs.*.result, 'failure')||contains(needs.*.result, 'canceled')
run: |
# Job failure found
echo "At least one job has failed"
Expand Down

0 comments on commit 56b0a80

Please sign in to comment.