chore: fix release notes changelog template (#32877)

This commit is contained in:
andig 2026-08-16 11:20:28 +02:00 • committed by GitHub
parent e772d8413a
commit f0e2dd39d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 8 deletions

View file

@ -157,18 +157,15 @@ jobs:
TITLE: ${{ steps.pr.outputs.title }}
ACTOR: ${{ github.event.comment.user.login }}
run: |
# the release line the branch was cut from, 0.313 for release/0.313.1
line=$(echo "${TARGET#release/}" | cut -d. -f1,2)
# the pull request is authored by the deploy token, so assign the
# requester. the body stays empty, squashing it would carry the text
# into the release branch as the commit description.
# the marker trails the title so the changelog filters and groups still
# see the original prefix, goreleaser strips it from the release notes
# the title stays untouched so the changelog filters and groups still
# see the original prefix, the backport label identifies the pull request
url=$(gh pr create \
--base "$TARGET" \
--head "$BRANCH" \
--title "$TITLE [$line backport]" \
--title "$TITLE" \
--label backport \
--assignee "$ACTOR" \
--body "")