Skip to content

Commit

Permalink
Try head repository
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 4, 2024
1 parent eff1856 commit 0379e80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# Defaults to ${{ github.repository }}, but that doesn't work for forks
# This should also make it obvious why this is in a separate workflow
# and in a job that doesn't have access to our secrets.
repository: ${{ github.event.workflow_run.head_repository.full_name }}
ref: ${{ github.event.workflow_run.head_branch }}
- name: TurboRepo local server
uses: felixmosh/turborepo-gh-artifacts@v3
Expand Down

0 comments on commit 0379e80

Please sign in to comment.