CI: group all required workflows into one for the status check.
This simplifies repository management.
This commit is contained in:
parent
93e89f5632
commit
33139ac6cb
9
.github/workflows/main.yaml
vendored
9
.github/workflows/main.yaml
vendored
|
@ -87,6 +87,15 @@ jobs:
|
||||||
name: docs
|
name: docs
|
||||||
path: docs/_build
|
path: docs/_build
|
||||||
|
|
||||||
|
required: # group all required workflows into one for the required status check
|
||||||
|
needs:
|
||||||
|
- test
|
||||||
|
- document
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
true
|
||||||
|
|
||||||
publish-docs:
|
publish-docs:
|
||||||
needs: document
|
needs: document
|
||||||
if: github.repository == 'amaranth-lang/amaranth'
|
if: github.repository == 'amaranth-lang/amaranth'
|
||||||
|
|
Loading…
Reference in a new issue