Skip to content

Commit 69a80d1

Browse files
committed
Skip forks
1 parent 2cad253 commit 69a80d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ jobs:
176176
deploy-staging:
177177
name: 🚁 Deploy staging app for PR
178178
runs-on: ubuntu-24.04
179-
if: ${{ github.event_name == 'pull_request' }}
179+
# Skip forks as they don't have access to secrets
180+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
180181
outputs:
181182
url: ${{ steps.deploy.outputs.url }}
182183
environment:

0 commit comments

Comments
 (0)