Skip to content

Commit 655ccf8

Browse files
authored
Mk fix nightly (#8669)
1 parent f677ed2 commit 655ccf8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/create-pull-request/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ runs:
4545
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
4646
shell: 'bash'
4747
run: |
48-
gh pr create \
48+
set -e
49+
PR_URL=$(gh pr create \
4950
--title "${{ inputs.pr-title }}" \
5051
--body "${{ inputs.pr-body }}" \
5152
--base "${{ inputs.base-branch }}" \
5253
--head "${{ inputs.branch-name }}" \
53-
--fill
54-
gh pr merge --auto --squash
54+
--fill)
55+
gh pr merge "$PR_URL" --auto --squash

0 commit comments

Comments
 (0)