CI: adjust the required
job to never be skipped.
While this fails a normal required status check, the merge group will succeed even if a required status check is skipped.
This commit is contained in:
parent
879601380d
commit
e55dec9615
6
.github/workflows/main.yaml
vendored
6
.github/workflows/main.yaml
vendored
|
@ -83,14 +83,14 @@ jobs:
|
|||
name: docs
|
||||
path: docs/_build
|
||||
|
||||
required: # group all required workflows into one for the required status check
|
||||
required: # group all required workflows into one to avoid reconfiguring this in Actions settings
|
||||
needs:
|
||||
- test
|
||||
- document
|
||||
if: always() && !contains(needs.*.result, 'cancelled')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
true
|
||||
- run: ${{ contains(needs.*.result, 'failure') && 'false' || 'true' }}
|
||||
|
||||
publish-docs:
|
||||
needs: document
|
||||
|
|
Loading…
Reference in a new issue