Skip to content

Commit

Permalink
Use alls-green to require all checks to succeed(#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
rene-bos authored Jan 17, 2022
1 parent 525c683 commit fda0c2e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,17 @@ jobs:

- name: Execute unit tests
run: composer run-script phpunit

all-green:
name: All green
needs:
- code-style
- php-compatibility
- static-code-analysis
- unit-tests
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@ed97172826e514be195bf70a7858630e7a5874fc
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit fda0c2e

Please sign in to comment.