Skip to content

Commit c133e39

Browse files
authored
Merge pull request #1294 from webknjaz/maintenance/gha-check
Add a gate job to GHA CI/CD
2 parents c6ec57b + 04c2d07 commit c133e39

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,21 @@ jobs:
3939
- name: Nox ${{ matrix.noxenv }}
4040
run: |
4141
python -m nox -s ${{ matrix.noxenv }}
42+
43+
44+
check:
45+
# This job does nothing and is only used for the branch protection
46+
# or multi-stage CI jobs, like making sure that all tests pass before
47+
# a publishing job is started.
48+
if: always()
49+
50+
needs:
51+
- build
52+
53+
runs-on: ubuntu-latest
54+
55+
steps:
56+
- name: Decide whether the needed jobs succeeded or failed
57+
uses: re-actors/alls-green@release/v1
58+
with:
59+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)