Skip to content

Commit 52af01f

Browse files
committed
fix: update pull request event types
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent 3b53600 commit 52af01f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test-playwright.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
types: [opened, synchronize, reopened, labeled]
89
workflow_dispatch:
910

1011
permissions:
@@ -15,6 +16,11 @@ jobs:
1516
name: Playwright MCP Integration Tests
1617
runs-on: ubuntu-latest
1718
timeout-minutes: 15
19+
# Run on push, workflow_dispatch, or PR events (except labeled requires 'test-playwright' label)
20+
if: >-
21+
github.event_name != 'pull_request' ||
22+
github.event.action != 'labeled' ||
23+
github.event.label.name == 'test-playwright'
1824
1925
steps:
2026
- name: Checkout repository

0 commit comments

Comments
 (0)