mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Merge pull request #951 from teloxide/make-ci-actually-do-its-job
Make `ci-pass` job actually fail when some required job failed
This commit is contained in:
commit
45ff4f7bfb
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue