177
177
178
178
jobs:
179
179
audit:
180
+ if: github.repository_owner == 'npm'
180
181
runs-on: ubuntu-latest
181
182
steps:
182
183
- uses: actions/checkout@v3
214
215
215
216
jobs:
216
217
lint:
218
+ if: github.repository_owner == 'npm'
217
219
runs-on: ubuntu-latest
218
220
steps:
219
221
- uses: actions/checkout@v3
@@ -231,6 +233,7 @@ jobs:
231
233
- run: npm run lint
232
234
233
235
test:
236
+ if: github.repository_owner == 'npm'
234
237
strategy:
235
238
fail-fast: false
236
239
matrix:
@@ -345,8 +348,8 @@ permissions:
345
348
346
349
jobs:
347
350
template-oss-apply:
351
+ if: github.repository_owner == 'npm' && github.actor == 'dependabot[bot]'
348
352
runs-on: ubuntu-latest
349
- if: github.actor == 'dependabot[bot]'
350
353
steps:
351
354
- uses: actions/checkout@v3
352
355
with:
394
397
jobs:
395
398
check:
396
399
name: Check PR Title or Commits
400
+ if: github.repository_owner == 'npm'
397
401
runs-on: ubuntu-latest
398
402
steps:
399
403
- uses: actions/checkout@v3
@@ -438,6 +442,7 @@ jobs:
438
442
outputs:
439
443
pr: \${{ steps.release.outputs.pr }}
440
444
release: \${{ steps.release.outputs.release }}
445
+ if: github.repository_owner == 'npm'
441
446
runs-on: ubuntu-latest
442
447
steps:
443
448
- uses: actions/checkout@v3
@@ -500,7 +505,7 @@ jobs:
500
505
501
506
post-release:
502
507
needs: release-please
503
- if: needs.release-please.outputs.release
508
+ if: github.repository_owner == 'npm' && needs.release-please.outputs.release
504
509
runs-on: ubuntu-latest
505
510
steps:
506
511
- uses: actions/checkout@v3
536
541
537
542
jobs:
538
543
lint-all:
544
+ if: github.repository_owner == 'npm'
539
545
runs-on: ubuntu-latest
540
546
steps:
541
547
- uses: actions/checkout@v3
@@ -555,6 +561,7 @@ jobs:
555
561
- run: npm run lint -ws -iwr --if-present
556
562
557
563
test-all:
564
+ if: github.repository_owner == 'npm'
558
565
strategy:
559
566
fail-fast: false
560
567
matrix:
963
970
964
971
jobs:
965
972
audit:
973
+ if: github.repository_owner == 'npm'
966
974
runs-on: ubuntu-latest
967
975
steps:
968
976
- uses: actions/checkout@v3
@@ -1004,6 +1012,7 @@ on:
1004
1012
1005
1013
jobs:
1006
1014
lint:
1015
+ if: github.repository_owner == 'npm'
1007
1016
runs-on: ubuntu-latest
1008
1017
steps:
1009
1018
- uses: actions/checkout@v3
@@ -1021,6 +1030,7 @@ jobs:
1021
1030
- run: npm run lint -w a
1022
1031
1023
1032
test:
1033
+ if: github.repository_owner == 'npm'
1024
1034
strategy:
1025
1035
fail-fast: false
1026
1036
matrix:
@@ -1099,6 +1109,7 @@ on:
1099
1109
1100
1110
jobs:
1101
1111
lint:
1112
+ if: github.repository_owner == 'npm'
1102
1113
runs-on: ubuntu-latest
1103
1114
steps:
1104
1115
- uses: actions/checkout@v3
@@ -1116,6 +1127,7 @@ jobs:
1116
1127
- run: npm run lint -w b
1117
1128
1118
1129
test:
1130
+ if: github.repository_owner == 'npm'
1119
1131
strategy:
1120
1132
fail-fast: false
1121
1133
matrix:
@@ -1196,6 +1208,7 @@ on:
1196
1208
1197
1209
jobs:
1198
1210
lint:
1211
+ if: github.repository_owner == 'npm'
1199
1212
runs-on: ubuntu-latest
1200
1213
steps:
1201
1214
- uses: actions/checkout@v3
@@ -1213,6 +1226,7 @@ jobs:
1213
1226
- run: npm run lint
1214
1227
1215
1228
test:
1229
+ if: github.repository_owner == 'npm'
1216
1230
strategy:
1217
1231
fail-fast: false
1218
1232
matrix:
@@ -1327,8 +1341,8 @@ permissions:
1327
1341
1328
1342
jobs:
1329
1343
template-oss-apply:
1344
+ if: github.repository_owner == 'npm' && github.actor == 'dependabot[bot]'
1330
1345
runs-on: ubuntu-latest
1331
- if: github.actor == 'dependabot[bot]'
1332
1346
steps:
1333
1347
- uses: actions/checkout@v3
1334
1348
with:
@@ -1376,6 +1390,7 @@ on:
1376
1390
jobs:
1377
1391
check:
1378
1392
name: Check PR Title or Commits
1393
+ if: github.repository_owner == 'npm'
1379
1394
runs-on: ubuntu-latest
1380
1395
steps:
1381
1396
- uses: actions/checkout@v3
@@ -1420,6 +1435,7 @@ jobs:
1420
1435
outputs:
1421
1436
pr: \${{ steps.release.outputs.pr }}
1422
1437
release: \${{ steps.release.outputs.release }}
1438
+ if: github.repository_owner == 'npm'
1423
1439
runs-on: ubuntu-latest
1424
1440
steps:
1425
1441
- uses: actions/checkout@v3
@@ -1482,7 +1498,7 @@ jobs:
1482
1498
1483
1499
post-release:
1484
1500
needs: release-please
1485
- if: needs.release-please.outputs.release
1501
+ if: github.repository_owner == 'npm' && needs.release-please.outputs.release
1486
1502
runs-on: ubuntu-latest
1487
1503
steps:
1488
1504
- uses: actions/checkout@v3
@@ -1518,6 +1534,7 @@ on:
1518
1534
1519
1535
jobs:
1520
1536
lint-all:
1537
+ if: github.repository_owner == 'npm'
1521
1538
runs-on: ubuntu-latest
1522
1539
steps:
1523
1540
- uses: actions/checkout@v3
@@ -1537,6 +1554,7 @@ jobs:
1537
1554
- run: npm run lint -ws -iwr --if-present
1538
1555
1539
1556
test-all:
1557
+ if: github.repository_owner == 'npm'
1540
1558
strategy:
1541
1559
fail-fast: false
1542
1560
matrix:
@@ -1964,6 +1982,7 @@ on:
1964
1982
1965
1983
jobs:
1966
1984
lint:
1985
+ if: github.repository_owner == 'npm'
1967
1986
runs-on: ubuntu-latest
1968
1987
steps:
1969
1988
- uses: actions/checkout@v3
@@ -1981,6 +2000,7 @@ jobs:
1981
2000
- run: npm run lint -w a
1982
2001
1983
2002
test:
2003
+ if: github.repository_owner == 'npm'
1984
2004
strategy:
1985
2005
fail-fast: false
1986
2006
matrix:
@@ -2059,6 +2079,7 @@ on:
2059
2079
2060
2080
jobs:
2061
2081
lint:
2082
+ if: github.repository_owner == 'npm'
2062
2083
runs-on: ubuntu-latest
2063
2084
steps:
2064
2085
- uses: actions/checkout@v3
@@ -2076,6 +2097,7 @@ jobs:
2076
2097
- run: npm run lint -w b
2077
2098
2078
2099
test:
2100
+ if: github.repository_owner == 'npm'
2079
2101
strategy:
2080
2102
fail-fast: false
2081
2103
matrix:
@@ -2150,6 +2172,7 @@ jobs:
2150
2172
outputs:
2151
2173
pr: \${{ steps.release.outputs.pr }}
2152
2174
release: \${{ steps.release.outputs.release }}
2175
+ if: github.repository_owner == 'npm'
2153
2176
runs-on: ubuntu-latest
2154
2177
steps:
2155
2178
- uses: actions/checkout@v3
@@ -2212,7 +2235,7 @@ jobs:
2212
2235
2213
2236
post-release:
2214
2237
needs: release-please
2215
- if: needs.release-please.outputs.release
2238
+ if: github.repository_owner == 'npm' && needs.release-please.outputs.release
2216
2239
runs-on: ubuntu-latest
2217
2240
steps:
2218
2241
- uses: actions/checkout@v3
@@ -2248,6 +2271,7 @@ on:
2248
2271
2249
2272
jobs:
2250
2273
lint-all:
2274
+ if: github.repository_owner == 'npm'
2251
2275
runs-on: ubuntu-latest
2252
2276
steps:
2253
2277
- uses: actions/checkout@v3
@@ -2267,6 +2291,7 @@ jobs:
2267
2291
- run: npm run lint -ws -iwr --if-present
2268
2292
2269
2293
test-all:
2294
+ if: github.repository_owner == 'npm'
2270
2295
strategy:
2271
2296
fail-fast: false
2272
2297
matrix:
0 commit comments