Skip to content

Commit

Permalink
Fix status checks in CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: star1327p <star1327p@gmail.com>
  • Loading branch information
kbattocchi authored and star1327p committed Jul 19, 2023
1 parent cb327c1 commit c63a2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
steps:
- run: exit 1
name: At least one check failed or was cancelled
if: ${{ !(success()) }}
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
- run: exit 0
name: All checks passed
if: ${{ success() }}
if: ${{ !(contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}

0 comments on commit c63a2d1

Please sign in to comment.