From dbb771aa7c7d6be0c013bf203ddc181975ba1355 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 22 Jul 2026 12:23:02 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A6=20ci:=20Gate=20Playwright=20Runs?= =?UTF-8?q?=20to=20Maintainers=20(#14385)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: gate Playwright runs to maintainers * ci: guard pull request context explicitly --- .github/workflows/playwright-mock.yml | 5 +++++ 1 file changed, 5 insertions(+) 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: