Skip to content

Commit bec8b70

Browse files
authored
Update git push command for versioning PRs
1 parent 3b51516 commit bec8b70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/create-versioning-pr.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ jobs:
115115

116116
- name: 'Push changes'
117117
run: |
118-
git push --set-upstream origin "${{ github.ref }}"
118+
baseRef="${{ github.base_ref }}"
119+
baseRef=${baseRef#"refs/heads/"}
120+
git push --set-upstream origin "changeset-release/$baseRef"
119121
if: steps.changesets.outputs.hasChangesets == 'true'
120122

121123

0 commit comments

Comments
 (0)