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 2db0b4c commit abd8524Copy full SHA for abd8524
action.yml
@@ -34,7 +34,10 @@ runs:
34
35
- name: Create pull request
36
if: ${{ fromJSON(inputs.create-pull-request) == true }}
37
- run: gh pr create -B ${{ steps.head.outputs.name }} -H ${{ github.head_ref || github.ref_name }} --title 'Merge ${{ github.head_ref || github.ref_name }} into ${{ steps.head.outputs.name }}' --body '${{ inputs.pull-request-body }}'
+ run: gh pr create -B $HEAD_BRANCH -H $REF_NAME --title 'Merge $REF_NAME into $HEAD_BRANCH' --body '$PR_BODY'
38
env:
39
+ HEAD_BRANCH: ${{ steps.head.outputs.name }}
40
+ REF_NAME: ${{ github.head_ref || github.ref_name }}
41
+ PR_BODY: ${{ inputs.pull-request-body }}
42
GITHUB_TOKEN: ${{ inputs.github-token }}
43
shell: bash
0 commit comments