Skip to content

Commit 0a4bf7c

Browse files
committed
we need to do this by hand it seems
1 parent 1eb4f13 commit 0a4bf7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
# dependencies fails.
6666
if: always() # make sure this is never "skipped"
6767
steps:
68-
- name: fail if any dependency failed
69-
run: exit 1
70-
if: failure()
68+
# Manually check the status of all dependencies. `if: failure()` does not work.
69+
- name: check if any dependency failed
70+
run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
7171

7272
# Send a Zulip notification when a cron job fails
7373
cron-fail-notify:

0 commit comments

Comments
 (0)