Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(ci): limit tests_secondary label trigger to CQ1 (#41567)

Copilotad18048db947
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index ebd3a5b4c5..5578693a67 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -22,6 +22,7 @@ permissions:
jobs:
test_mac:
name: ${{ matrix.os }} (${{ matrix.browser }})
+ if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
strategy:
fail-fast: false
@@ -47,6 +48,7 @@ jobs:
test_win:
name: "Windows"
+ if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
strategy:
fail-fast: false
@@ -66,6 +68,7 @@ jobs:
test-package-installations-other-node-versions:
name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"
+ if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
runs-on: ${{ matrix.os }}
strategy: