From 39650239d4898b79cadcf131f89753739c18bd5b Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Tue, 17 Dec 2024 10:35:23 +0100 Subject: [PATCH] Add all-greens action as an attempt to replace branch protection rules https://github.com/re-actors/alls-green --- .github/workflows/test_suite.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index 2527dd3..473be38 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -28,3 +28,13 @@ jobs: - run: tox - run: codecov + check: + runs-on: ubuntu-latest + if: always() + needs: + - tox + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}