Skip to content

Commit d36f82d

Browse files
committed
ci: add an all-checks job to require in the ruleset
1 parent 4df93a4 commit d36f82d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/tests.yaml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,15 @@ jobs:
120120
github_access_token: ${{ secrets.GITHUB_TOKEN }}
121121
- run: nix build
122122
- run: nix flake check
123+
124+
all-checks:
125+
if: always()
126+
needs: [tests, minversions, style, doc, bundle, nix]
127+
runs-on: ubuntu-24.04
128+
steps:
129+
- name: Fail if a needed job did not succeed
130+
if: >-
131+
contains(needs.*.result, 'failure')
132+
|| contains(needs.*.result, 'cancelled')
133+
|| contains(needs.*.result, 'skipped')
134+
run: exit 1

0 commit comments

Comments
 (0)