Skip to content

Commit e92abf6

Browse files
committed
Stop running deploy-testing for forks PR
Since they don't have access to all the secrets needed to run this job.
1 parent ab3643c commit e92abf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ jobs:
371371
files: package/*
372372

373373
deploy-testing:
374+
# Don't run on pull request from forks since they don't have access to all the needed secrets
375+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
374376
strategy:
375377
fail-fast: false
376378
matrix:

0 commit comments

Comments
 (0)