From 4f4bcc2e2496aece8161836bc3191a0e023a4a2f Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 18 Jun 2024 16:30:54 +0200 Subject: [PATCH] Merge pull request #10315 from webknjaz/maintenance/gha-check Introduce a gate/check GHA job (cherry picked from commit dc65bb6a6699bdeb5ee7523245db1ee724670e29) --- .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) }}