chore: keep the backport marker out of the release notes (#32392)
This commit is contained in:
parent
93b313352f
commit
b9a1a94726
2 changed files with 6 additions and 2 deletions
6
.github/workflows/command-backport.yml
vendored
6
.github/workflows/command-backport.yml
vendored
|
|
@ -162,11 +162,13 @@ jobs:
|
|||
|
||||
# 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
|
||||
# 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
|
||||
url=$(gh pr create \
|
||||
--base "$TARGET" \
|
||||
--head "$BRANCH" \
|
||||
--title "$line backport: $TITLE" \
|
||||
--title "$TITLE [$line backport]" \
|
||||
--label backport \
|
||||
--assignee "$ACTOR" \
|
||||
--body "")
|
||||
|
|
|
|||
|
|
@ -67,6 +67,8 @@ snapshot:
|
|||
|
||||
changelog:
|
||||
sort: asc
|
||||
# drop the marker the backport command appends to the pull request title
|
||||
format: '{{ .SHA }} {{ reReplaceAll ` \[\d+\.\d+ backport\]` .Message "" }}'
|
||||
filters:
|
||||
exclude:
|
||||
- "^chore"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue