We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b358e4 commit c57d773Copy full SHA for c57d773
.github/workflows/release.yaml
@@ -32,6 +32,8 @@ jobs:
32
with:
33
ref: ${{ github.head_ref }}
34
token: ${{ env.GH_TOKEN }}
35
+ # needed by "gh pr create"
36
+ fetch-depth: 0
37
38
- name: Extract version from release branch
39
if: startsWith(github.head_ref, 'release/')
@@ -68,7 +70,7 @@ jobs:
68
70
gh label create ${{ env.PR_LABEL }} --force
69
71
gh pr create \
72
--base ${{ env.BRANCH_DEVELOP }} \
- --head ${{ github.event.pull_request.merge_commit_sha }} \
73
+ --head ${{ github.head_ref }} \
74
--title "${{ env.PR_TITLE }}" \
75
--body "${{ env.PR_BODY }}" \
76
--label "${{ env.PR_LABEL }}" \
0 commit comments