Skip to content

Commit 406833d

Browse files
authored
fix: Update dist-pr.yml (#206)
Updates step to only fetch the ain branch, since dist-to-main-pr is being created locally off of the current HEAD. Attempt to fix this error: pull request create failed: GraphQL: Head sha can't be blank, Base sha can't be blank, No commits between main and dist-to-main-pr, Head ref must be a branch (createPullRequest)
1 parent ba07b18 commit 406833d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dist-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Create Branch for PR
3838
run: |
3939
git fetch origin main
40-
git checkout -b dist-to-main-pr origin/dist
40+
git checkout -b dist-to-main-pr
4141
4242
- name: Create Pull Request
4343
run: |

0 commit comments

Comments
 (0)