Skip to content

Commit c3e87dc

Browse files
committed
fix: checkout for PRs from forks
1 parent ad5c126 commit c3e87dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-check-install.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ jobs:
309309
uses: actions/checkout@v4.1.1
310310
if: github.event_name == 'pull_request'
311311
with:
312+
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
312313
path: ${{ github.event.repository.name }}
313314
repository: ${{ github.event.pull_request.head.repo.full_name }}
314315
fetch-depth: 0

0 commit comments

Comments
 (0)