Skip to content

Commit bc07fe5

Browse files
committed
feat(workflow-release): auto create merge commit for PR on merging
1 parent 891c532 commit bc07fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ jobs:
7979
--fill
8080
8181
PR_ID=$(gh pr list --state open --search "base:${{ env.BRANCH_DEVELOP }} head:${{ github.head_ref }}" | head -1 | cut -f1)
82-
[[ ! -z "$PR_ID" ]] && gh pr merge ${PR_ID} -d -t "${{ env.PR_TITLE }}" || echo "Empty PR ID. Ignored!"
82+
[[ ! -z "$PR_ID" ]] && gh pr merge ${PR_ID} -m -d -t "${{ env.PR_TITLE }}" || echo "Empty PR ID. Ignored!"

0 commit comments

Comments
 (0)