From 400f8421f92d0213244427795e696edf096cff7c Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Tue, 25 Jun 2024 09:12:30 +1000 Subject: [PATCH] Require approval for pull request tests --- .github/workflows/pull-requests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 23230d7..88d62e2 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -3,10 +3,16 @@ on: pull_request_target: jobs: - test: + approve-pr-tests: runs-on: ubuntu-latest environment: name: "Pull Request Tests" + steps: + - run: "echo 'Execution of tests pending approval'" + + test: + needs: ["approve-pr-tests"] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: