We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e3b839 + 147d71c commit 830127fCopy full SHA for 830127f
1 file changed
.github/workflows/syncbot.yml
@@ -31,8 +31,9 @@ jobs:
31
git config user.name syncbot
32
git config user.email github-actions@github.com
33
34
- # Fetch all branches
+ # Fetch all branches and the PR head (which may be from a fork)
35
git fetch origin
36
+ git fetch origin pull/${{ github.event.pull_request.number }}/head
37
38
# Get the source branch name and target branch
39
SOURCE_BRANCH="${{ github.head_ref }}"
0 commit comments