Skip to content

Commit 8f9aaee

Browse files
authored
build: update PR body. (#796)
* feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body.
1 parent 219e6e4 commit 8f9aaee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: .github/workflows/merge-from-milestone.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ jobs:
110110
git push origin $cherry_pick_branch --force
111111
112112
new_pr_title="$pr_title [Created by @$pr_creator from #$pr_number]"
113-
new_pr_body="$pr_body \\n >This PR cherry-picks commit from original PR #$pr_number."
113+
new_pr_body="$pr_body
114+
>This PR is created from original PR #$pr_number."
114115
115116
response=$(curl -s -X POST -H "Authorization: token $BOT_TOKEN" \
116117
-H "Accept: application/vnd.github+json" \

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
distribution: goreleaser
2929
version: latest
3030
workdir: .
31-
args: release --clean --release-footer-tmpl=scripts/template/footer.md.tmpl --release-header-tmpl=scripts/template/head.md.tmpl
31+
args: release --clean
3232
env:
3333
USERNAME: ${{ github.repository_owner }}
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)