We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb4f13 commit 0a4bf7cCopy full SHA for 0a4bf7c
.github/workflows/ci.yml
@@ -65,9 +65,9 @@ jobs:
65
# dependencies fails.
66
if: always() # make sure this is never "skipped"
67
steps:
68
- - name: fail if any dependency failed
69
- run: exit 1
70
- if: failure()
+ # Manually check the status of all dependencies. `if: failure()` does not work.
+ - name: check if any dependency failed
+ run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
71
72
# Send a Zulip notification when a cron job fails
73
cron-fail-notify:
0 commit comments