Skip to content

Commit

Permalink
Update result job condition (#52155)
Browse files Browse the repository at this point in the history
Ensures when the cancelled status occurs we don't mark it as passed.
  • Loading branch information
ijjk authored and shuding committed Jul 8, 2023
1 parent 85a0c79 commit 760fdaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ jobs:
name: thank you, next
steps:
- run: exit 1
if: ${{ always() && contains(needs.*.result, 'failure') }}
if: ${{ always() && !contains(needs.*.result, 'success') }}

0 comments on commit 760fdaa

Please sign in to comment.