Add a no-op check job to GHA for branch protection (#652)
This patch adds an "empty" job that depends on all the important ones making it possible to use just this `check` job in the branch protection settings. This reduces the maintenance burden by preventing the need to update these settings on any changes to the job declarations.
This commit is contained in:
parent
fae694fe86
commit
426dfd55b9
|
@ -116,3 +116,16 @@ jobs:
|
||||||
--parallel auto
|
--parallel auto
|
||||||
--parallel-live
|
--parallel-live
|
||||||
--skip-missing-interpreters false
|
--skip-missing-interpreters false
|
||||||
|
|
||||||
|
check: # This job does nothing and is only used for the branch protection
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
- tox
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Report success of the test matrix
|
||||||
|
run: >-
|
||||||
|
print("All's good")
|
||||||
|
shell: python
|
||||||
|
|
Loading…
Reference in New Issue