Skip to content

Commit 1a533b6

Browse files
Don't deploy for PR from forked repos
1 parent 9f3c336 commit 1a533b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy_preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
deploy-preview:
2121
needs: [test]
2222
runs-on: ubuntu-latest
23+
# Do not run for PR from forks
24+
if: github.event.pull_request.head.repo.full_name == github.repository
2325

2426
steps:
2527
- name: Checkout code

0 commit comments

Comments
 (0)