Skip to content

Commit

Permalink
Merge pull request #640 from opensafely-core/require-ci-checks
Browse files Browse the repository at this point in the history
Configure required checks
  • Loading branch information
ghickman authored Aug 25, 2023
2 parents 31934cf + 45221db commit 323b445
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}

0 comments on commit 323b445

Please sign in to comment.