From ce7dca26805b3c1d4f7d98f642df860ef899f0ac Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 18 Jun 2024 16:30:54 +0200 Subject: [PATCH] [8.2.x] Introduce a gate/check GHA job --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09d37aaa2..2cd84ac50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -227,3 +227,17 @@ jobs: fail_ci_if_error: true files: ./coverage.xml verbose: true + + check: # This job does nothing and is only used for the branch protection + if: always() + + needs: + - build + + runs-on: ubuntu-latest + + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@198badcb65a1a44528f27d5da555c4be9f12eac6 + with: + jobs: ${{ toJSON(needs) }}