Skip to content

Commit 52580d6

Browse files
authored
Revert "fix(ci): Prevent workflows from automatically running on forks (#34408)" (#34488)
1 parent 640e6a8 commit 52580d6

File tree

8 files changed

+0
-29
lines changed

8 files changed

+0
-29
lines changed

.github/workflows/tests_bidi.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ env:
1818
jobs:
1919
test_bidi:
2020
name: BiDi
21-
if: github.repository == 'microsoft/playwright'
2221
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
2322
runs-on: ubuntu-24.04
2423
permissions:

.github/workflows/tests_components.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ env:
2020
jobs:
2121
test_components:
2222
name: ${{ matrix.os }} - Node.js ${{ matrix.node-version }}
23-
if: github.repository == 'microsoft/playwright'
2423
strategy:
2524
fail-fast: false
2625
matrix:

.github/workflows/tests_others.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ env:
2121
jobs:
2222
test_stress:
2323
name: Stress - ${{ matrix.os }}
24-
if: github.repository == 'microsoft/playwright'
2524
strategy:
2625
fail-fast: false
2726
matrix:
@@ -58,7 +57,6 @@ jobs:
5857

5958
test_webview2:
6059
name: WebView2
61-
if: github.repository == 'microsoft/playwright'
6260
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
6361
runs-on: windows-2022
6462
permissions:
@@ -89,7 +87,6 @@ jobs:
8987

9088
test_clock_frozen_time_linux:
9189
name: time library - ${{ matrix.clock }}
92-
if: github.repository == 'microsoft/playwright'
9390
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
9491
permissions:
9592
id-token: write # This is required for OIDC login (azure/login) to succeed
@@ -115,7 +112,6 @@ jobs:
115112

116113
test_clock_frozen_time_test_runner:
117114
name: time test runner - ${{ matrix.clock }}
118-
if: github.repository == 'microsoft/playwright'
119115
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
120116
runs-on: ubuntu-22.04
121117
permissions:
@@ -140,7 +136,6 @@ jobs:
140136

141137
test_electron:
142138
name: Electron - ${{ matrix.os }}
143-
if: github.repository == 'microsoft/playwright'
144139
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
145140
strategy:
146141
fail-fast: false

.github/workflows/tests_primary.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ env:
2727
jobs:
2828
test_linux:
2929
name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})
30-
if: github.repository == 'microsoft/playwright'
3130
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
3231
strategy:
3332
fail-fast: false
@@ -60,7 +59,6 @@ jobs:
6059

6160
test_linux_chromium_tot:
6261
name: ${{ matrix.os }} (chromium tip-of-tree)
63-
if: github.repository == 'microsoft/playwright'
6462
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
6563
strategy:
6664
fail-fast: false
@@ -85,7 +83,6 @@ jobs:
8583

8684
test_test_runner:
8785
name: Test Runner
88-
if: github.repository == 'microsoft/playwright'
8986
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
9087
strategy:
9188
fail-fast: false
@@ -130,7 +127,6 @@ jobs:
130127

131128
test_web_components:
132129
name: Web Components
133-
if: github.repository == 'microsoft/playwright'
134130
runs-on: ubuntu-latest
135131
steps:
136132
- uses: actions/checkout@v4
@@ -166,7 +162,6 @@ jobs:
166162

167163
test_vscode_extension:
168164
name: VSCode Extension
169-
if: github.repository == 'microsoft/playwright'
170165
runs-on: ubuntu-latest
171166
env:
172167
PWTEST_BOT_NAME: "vscode-extension"
@@ -203,7 +198,6 @@ jobs:
203198

204199
test_package_installations:
205200
name: "Installation Test ${{ matrix.os }}"
206-
if: github.repository == 'microsoft/playwright'
207201
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
208202
strategy:
209203
fail-fast: false

.github/workflows/tests_secondary.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ permissions:
2626
jobs:
2727
test_linux:
2828
name: ${{ matrix.os }} (${{ matrix.browser }})
29-
if: github.repository == 'microsoft/playwright'
3029
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
3130
strategy:
3231
fail-fast: false
@@ -47,7 +46,6 @@ jobs:
4746

4847
test_mac:
4948
name: ${{ matrix.os }} (${{ matrix.browser }})
50-
if: github.repository == 'microsoft/playwright'
5149
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
5250
strategy:
5351
fail-fast: false
@@ -75,7 +73,6 @@ jobs:
7573

7674
test_win:
7775
name: "Windows"
78-
if: github.repository == 'microsoft/playwright'
7976
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
8077
strategy:
8178
fail-fast: false
@@ -95,7 +92,6 @@ jobs:
9592

9693
test-package-installations-other-node-versions:
9794
name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"
98-
if: github.repository == 'microsoft/playwright'
9995
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
10096
runs-on: ${{ matrix.os }}
10197
strategy:
@@ -129,7 +125,6 @@ jobs:
129125

130126
headed_tests:
131127
name: "headed ${{ matrix.browser }} (${{ matrix.os }})"
132-
if: github.repository == 'microsoft/playwright'
133128
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
134129
strategy:
135130
fail-fast: false
@@ -156,7 +151,6 @@ jobs:
156151

157152
transport_linux:
158153
name: "Transport"
159-
if: github.repository == 'microsoft/playwright'
160154
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
161155
strategy:
162156
fail-fast: false
@@ -178,7 +172,6 @@ jobs:
178172

179173
tracing_linux:
180174
name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}
181-
if: github.repository == 'microsoft/playwright'
182175
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
183176
strategy:
184177
fail-fast: false
@@ -206,7 +199,6 @@ jobs:
206199

207200
test_chromium_channels:
208201
name: Test ${{ matrix.channel }} on ${{ matrix.runs-on }}
209-
if: github.repository == 'microsoft/playwright'
210202
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
211203
runs-on: ${{ matrix.runs-on }}
212204
strategy:
@@ -229,7 +221,6 @@ jobs:
229221

230222
chromium_tot:
231223
name: Chromium tip-of-tree ${{ matrix.os }}${{ matrix.headed }}
232-
if: github.repository == 'microsoft/playwright'
233224
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
234225
runs-on: ${{ matrix.os }}
235226
strategy:
@@ -252,7 +243,6 @@ jobs:
252243

253244
chromium_tot_headless_shell:
254245
name: Chromium tip-of-tree headless-shell-${{ matrix.os }}
255-
if: github.repository == 'microsoft/playwright'
256246
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
257247
runs-on: ${{ matrix.os }}
258248
strategy:
@@ -274,7 +264,6 @@ jobs:
274264

275265
firefox_beta:
276266
name: Firefox Beta ${{ matrix.os }}
277-
if: github.repository == 'microsoft/playwright'
278267
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
279268
runs-on: ${{ matrix.os }}
280269
strategy:
@@ -296,7 +285,6 @@ jobs:
296285

297286
build-playwright-driver:
298287
name: "build-playwright-driver"
299-
if: github.repository == 'microsoft/playwright'
300288
runs-on: ubuntu-24.04
301289
steps:
302290
- uses: actions/checkout@v4
@@ -310,7 +298,6 @@ jobs:
310298

311299
test_channel_chromium:
312300
name: Test channel=chromium
313-
if: github.repository == 'microsoft/playwright'
314301
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}
315302
strategy:
316303
fail-fast: false

.github/workflows/tests_service.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ env:
1010
jobs:
1111
test:
1212
name: "Service"
13-
if: github.repository == 'microsoft/playwright'
1413
strategy:
1514
fail-fast: false
1615
matrix:

.github/workflows/tests_video.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ env:
1414
jobs:
1515
video_linux:
1616
name: "Video Linux"
17-
if: github.repository == 'microsoft/playwright'
1817
environment: allow-uploading-flakiness-results
1918
strategy:
2019
fail-fast: false

.github/workflows/trigger_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
trigger:
1111
name: "trigger"
12-
if: github.repository == 'microsoft/playwright'
1312
runs-on: ubuntu-24.04
1413
steps:
1514
- run: |

0 commit comments

Comments
 (0)