Skip to content

Commit

Permalink
check out the source repository on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Sep 23, 2024
1 parent c655a73 commit 9f057c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ jobs:
echo OUTPUT_FILENAME="${filename}" >> "$GITHUB_OUTPUT"
echo output filename: ${filename}
# For pull requests, check out the head ref of the source branch.
# For pull requests, check out the head ref of the source branch from the source repo.
- name: Checkout
if: inputs.workflow == 'pr'
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
fetch-tags: true
# For other workflows, check out the requested revision (which defaults to
Expand Down

0 comments on commit 9f057c9

Please sign in to comment.