Skip to content

Commit 12e9da9

Browse files
kbattocchikgao
authored andcommitted
Fix status checks in CI workflow
Signed-off-by: Keith Battocchi <[email protected]> Signed-off-by: kgao <[email protected]>
1 parent 42d817a commit 12e9da9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224
steps:
225225
- run: exit 1
226226
name: At least one check failed or was cancelled
227-
if: ${{ !(success()) }}
227+
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
228228
- run: exit 0
229229
name: All checks passed
230-
if: ${{ success() }}
230+
if: ${{ !(contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}

0 commit comments

Comments
 (0)