Skip to content

Commit 71dadb5

Browse files
authored
Fix TPU CI for non-forks (#14688)
1 parent d579733 commit 71dadb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-circleci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ on:
88
- "src/pytorch_lightning/**"
99
- "tests/tests_pytorch/**"
1010
- "setup.cfg" # includes pytest config
11-
pull_request_target:
11+
# should use `pull_request_target` but it's blocked by
12+
# https://github.com/CircleCI-Public/trigger-circleci-pipeline-action/issues/27
13+
# so this job will not run on forks until the above is fixed or we replace CircleCI for another provider
14+
pull_request:
1215
branches: [master, "release/*"]
1316
paths:
1417
- ".github/workflows/ci-circleci.yml"
@@ -23,9 +26,6 @@ jobs:
2326
trigger-circleci:
2427
runs-on: ubuntu-latest
2528
steps:
26-
- uses: actions/checkout@v3
27-
with:
28-
ref: ${{ github.event.pull_request.head.sha }}
2929
- uses: CircleCI-Public/[email protected]
3030
env:
3131
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}

0 commit comments

Comments
 (0)