From c8495ede0af461dadd741be60b46b3746c1c91e3 Mon Sep 17 00:00:00 2001 From: Chris Tran Date: Tue, 21 Jan 2025 15:59:44 -0600 Subject: [PATCH] ci: add org membership check to e2e test job --- .github/workflows/on-pull-request.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index e5fac4d..a0acd47 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -43,7 +43,12 @@ jobs: name: Test E2E runs-on: ubuntu-latest steps: + - uses: actions-cool/check-user-permission@v2 + with: + require: write + id: check_permission - name: Trigger E2E Workflow in backend-sdk-tests and Wait + if: ${{ steps.check_permission.outputs.require-result == 'true' }} uses: convictional/trigger-workflow-and-wait@v1.6.5 with: owner: passageidentity