Skip to content

Commit 350b057

Browse files
committed
ci: use alls-green so we can have a single required check
1 parent 1ffc323 commit 350b057

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,17 @@ jobs:
128128
- name: pypy3-dj42-postgres
129129
python: 'pypy3.9'
130130
allow_failure: false
131+
132+
check: # This job does nothing and is only used for the branch protection
133+
if: always()
134+
135+
needs:
136+
- test
137+
138+
runs-on: ubuntu-latest
139+
140+
steps:
141+
- name: Decide whether the needed jobs succeeded or failed
142+
uses: re-actors/alls-green@223e4bb7a751b91f43eda76992bcfbf23b8b0302
143+
with:
144+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)