Skip to content

Commit 80c60d7

Browse files
authored
Merge pull request #630 from getlogbook/feature/alls-green
Add alls-green job so CI can be a required check
2 parents 0f9d484 + 359f6cb commit 80c60d7

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,3 +275,21 @@ jobs:
275275
run: "uv run nox --python ${{ matrix.python-version }} -v -k 'not nospeedups' --install-only"
276276
- name: "Run nox"
277277
run: "uv run nox --python ${{ matrix.python-version }} --no-install -k 'not nospeedups' -- -r aR -k 'not redis'"
278+
279+
alls-green:
280+
name: "all required checks passed"
281+
runs-on: "ubuntu-latest"
282+
if: always()
283+
284+
needs:
285+
- linux
286+
- windows
287+
- macos
288+
- lint
289+
- msrv
290+
291+
steps:
292+
- name: Decide whether the needed jobs succeeded or failed
293+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
294+
with:
295+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)