File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 42
42
43
43
build-demo-ios :
44
44
name : build-demo-ios
45
+ # NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
46
+ if : ${{ !github.event.pull_request.head.repo.fork }}
45
47
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
46
48
secrets : inherit
47
49
with :
@@ -190,6 +192,8 @@ jobs:
190
192
) done
191
193
192
194
upload-frameworks-ios :
195
+ # NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
196
+ if : ${{ !github.event.pull_request.head.repo.fork }}
193
197
runs-on : ubuntu-22.04
194
198
needs : [build-frameworks-ios, set-version]
195
199
timeout-minutes : 30
@@ -278,6 +282,8 @@ jobs:
278
282
279
283
build-benchmark-app :
280
284
name : build-benchmark-app
285
+ # NB: Don't run this on fork PRs because they won't have access to the secret and would fail anyway
286
+ if : ${{ !github.event.pull_request.head.repo.fork }}
281
287
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
282
288
secrets : inherit
283
289
with :
You can’t perform that action at this time.
0 commit comments