diff --git a/.github/workflows/playwright-mock.yml b/.github/workflows/playwright-mock.yml index c2b35a072d..8eda96761f 100644 --- a/.github/workflows/playwright-mock.yml +++ b/.github/workflows/playwright-mock.yml @@ -24,6 +24,11 @@ env: jobs: e2e: + if: >- + github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request' && + github.event.pull_request != null && + contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association)) runs-on: ubuntu-latest timeout-minutes: 30 env: