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 f677ed2 commit 655ccf8Copy full SHA for 655ccf8
1 file changed
.github/actions/create-pull-request/action.yml
@@ -45,10 +45,11 @@ runs:
45
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
46
shell: 'bash'
47
run: |
48
- gh pr create \
+ set -e
49
+ PR_URL=$(gh pr create \
50
--title "${{ inputs.pr-title }}" \
51
--body "${{ inputs.pr-body }}" \
52
--base "${{ inputs.base-branch }}" \
53
--head "${{ inputs.branch-name }}" \
- --fill
54
- gh pr merge --auto --squash
+ --fill)
55
+ gh pr merge "$PR_URL" --auto --squash
0 commit comments