From: Sviatoslav Sydorenko Date: Sat, 7 Jan 2023 14:54:59 +0000 (+0100) Subject: 👷 Add GitHub Action gate/check (#5492) X-Git-Tag: 0.89.0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2583a83f9dab0e35b7e82e01c8524253f547b562;p=thirdparty%2Ffastapi%2Ffastapi.git 👷 Add GitHub Action gate/check (#5492) --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddc43c942b..1235516d33 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,3 +75,19 @@ jobs: with: name: coverage-html path: htmlcov + + # https://github.com/marketplace/actions/alls-green#why + check: # This job does nothing and is only used for the branch protection + + if: always() + + needs: + - coverage-combine + + runs-on: ubuntu-latest + + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}