Skip to content

Commit 04c21cf

Browse files
authored
skip test-new-tests-deploy on forks (vercel#67670)
Forgot to do this. These won't work on forks because they need build artifacts to be published & secrets to be available, which isn't the case on PRs from forks.
1 parent a4e772e commit 04c21cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ jobs:
316316
test-new-tests-deploy:
317317
name: Test new tests when deployed
318318
needs: ['test-prod', 'test-new-tests-dev', 'test-new-tests-start']
319-
if: ${{ needs.changes.outputs.docs-only == 'false' }}
319+
if: ${{ needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork }}
320320

321321
strategy:
322322
fail-fast: false

0 commit comments

Comments
 (0)