@@ -26,6 +26,7 @@ permissions:
2626jobs :
2727 test_linux :
2828 name : ${{ matrix.os }} (${{ matrix.browser }})
29+ if : github.repository == 'microsoft/playwright'
2930 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
3031 strategy :
3132 fail-fast : false
4647
4748 test_mac :
4849 name : ${{ matrix.os }} (${{ matrix.browser }})
50+ if : github.repository == 'microsoft/playwright'
4951 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
5052 strategy :
5153 fail-fast : false
7375
7476 test_win :
7577 name : " Windows"
78+ if : github.repository == 'microsoft/playwright'
7679 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
7780 strategy :
7881 fail-fast : false
9295
9396 test-package-installations-other-node-versions :
9497 name : " Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"
98+ if : github.repository == 'microsoft/playwright'
9599 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
96100 runs-on : ${{ matrix.os }}
97101 strategy :
@@ -125,6 +129,7 @@ jobs:
125129
126130 headed_tests :
127131 name : " headed ${{ matrix.browser }} (${{ matrix.os }})"
132+ if : github.repository == 'microsoft/playwright'
128133 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
129134 strategy :
130135 fail-fast : false
@@ -151,6 +156,7 @@ jobs:
151156
152157 transport_linux :
153158 name : " Transport"
159+ if : github.repository == 'microsoft/playwright'
154160 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
155161 strategy :
156162 fail-fast : false
@@ -172,6 +178,7 @@ jobs:
172178
173179 tracing_linux :
174180 name : Tracing ${{ matrix.browser }} ${{ matrix.channel }}
181+ if : github.repository == 'microsoft/playwright'
175182 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
176183 strategy :
177184 fail-fast : false
@@ -199,6 +206,7 @@ jobs:
199206
200207 test_chromium_channels :
201208 name : Test ${{ matrix.channel }} on ${{ matrix.runs-on }}
209+ if : github.repository == 'microsoft/playwright'
202210 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
203211 runs-on : ${{ matrix.runs-on }}
204212 strategy :
@@ -221,6 +229,7 @@ jobs:
221229
222230 chromium_tot :
223231 name : Chromium tip-of-tree ${{ matrix.os }}${{ matrix.headed }}
232+ if : github.repository == 'microsoft/playwright'
224233 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
225234 runs-on : ${{ matrix.os }}
226235 strategy :
@@ -243,6 +252,7 @@ jobs:
243252
244253 chromium_tot_headless_shell :
245254 name : Chromium tip-of-tree headless-shell-${{ matrix.os }}
255+ if : github.repository == 'microsoft/playwright'
246256 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
247257 runs-on : ${{ matrix.os }}
248258 strategy :
@@ -264,6 +274,7 @@ jobs:
264274
265275 firefox_beta :
266276 name : Firefox Beta ${{ matrix.os }}
277+ if : github.repository == 'microsoft/playwright'
267278 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
268279 runs-on : ${{ matrix.os }}
269280 strategy :
@@ -285,6 +296,7 @@ jobs:
285296
286297 build-playwright-driver :
287298 name : " build-playwright-driver"
299+ if : github.repository == 'microsoft/playwright'
288300 runs-on : ubuntu-24.04
289301 steps :
290302 - uses : actions/checkout@v4
@@ -298,6 +310,7 @@ jobs:
298310
299311 test_channel_chromium :
300312 name : Test channel=chromium
313+ if : github.repository == 'microsoft/playwright'
301314 environment : ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
302315 strategy :
303316 fail-fast : false
0 commit comments