Skip to content

Commit abd8524

Browse files
authored
fix injectable inputs
Signed-off-by: Eden Ross Duff, MSc, DDiv <[email protected]>
1 parent 2db0b4c commit abd8524

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ runs:
3434

3535
- name: Create pull request
3636
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 }}'
37+
run: gh pr create -B $HEAD_BRANCH -H $REF_NAME --title 'Merge $REF_NAME into $HEAD_BRANCH' --body '$PR_BODY'
3838
env:
39+
HEAD_BRANCH: ${{ steps.head.outputs.name }}
40+
REF_NAME: ${{ github.head_ref || github.ref_name }}
41+
PR_BODY: ${{ inputs.pull-request-body }}
3942
GITHUB_TOKEN: ${{ inputs.github-token }}
4043
shell: bash

0 commit comments

Comments
 (0)