Make ci-pass job actually fail when some required job failed

This commit is contained in:
Maybe Waffle 2023-10-05 20:14:18 +04:00
parent 9b593ddb54
commit 0c68c78626

View file

@ -35,6 +35,7 @@ jobs:
ci-pass:
name: CI succeeded
runs-on: ubuntu-latest
if: always()
needs:
- fmt
@ -44,7 +45,10 @@ jobs:
- doc
steps:
- run: exit 0
- name: Check whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
fmt:
name: fmt