From d9752e44127ba36041b045417af8a0bf16ec4f1e Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 13 Jan 2024 18:01:17 +0100 Subject: [PATCH] add all-green CI job (#1283) --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97f829c8..8729e689 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,3 +84,14 @@ jobs: run: | curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash bash codecov.sh -n "tox -e ${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}" + + all-green: + runs-on: ubuntu-latest + needs: [linux, linux-docker] + if: ${{ always() }} + timeout-minutes: 3 + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 + with: + jobs: ${{ toJSON(needs) }}