Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ jobs:
name: πŸš€ Ready
runs-on: ubuntu-latest
needs: [build, eslint, gitleaks, pr-title-check, unit-test]
# Run even when a dependency fails or is skipped, so this required
# gate reports a real pass/fail instead of being auto-satisfied by
# a "skipped" status when an upstream job fails.
if: always()
steps:
- name: Verify all required jobs succeeded
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One or more required jobs failed or were cancelled:"
echo '${{ toJSON(needs) }}'
exit 1
- name: Ready
run: echo "All checks passed and the PR is ready to be merged!"
Loading