From 45221db1e2b35dcd408bfb35763b990e8b7e4500 Mon Sep 17 00:00:00 2001 From: George Hickman Date: Fri, 25 Aug 2023 14:51:31 +0100 Subject: [PATCH] Configure required checks --- .github/workflows/tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a83b03c9..6f567cfb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -145,3 +145,20 @@ jobs: --project-dir=tests/fixtures/full_project \ --continue-on-error --timestamps --format-output-for-github \ || true + + required-checks: + if: always() + + needs: + - check + - test-job + - test-package-build + - test-github-workflow-output + + runs-on: Ubuntu-latest + + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 + with: + jobs: ${{ toJSON(needs) }}