Skip to content

Commit 8f50123

Browse files
authored
Merge pull request #3442 from pljones/bugfix/anchor-check-for-changelog-tag
Fixes 3318: Anchor check for CHANGELOG tag
2 parents d4dd153 + c1efc99 commit 8f50123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/changelog-helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ check_or_add_pr() {
183183
fi
184184
local title_suggestion_in_pr
185185
title_suggestion_in_pr=$(gh pr view "$id" --json body,comments,reviews --jq '(.body), (.comments[] .body), (.reviews[] .body)' |
186-
grep -oP '\bCHANGELOG:\s*\K([^\\]{5,})' | tail -n1 | sanitize_title || true)
186+
grep -oP '^\bCHANGELOG:\s*\K([^\\]{5,})' | tail -n1 | sanitize_title || true)
187187
if [[ "${title_suggestion_in_pr}" ]]; then
188188
title="${title_suggestion_in_pr}"
189189
if [[ "${title_suggestion_in_pr}" == "SKIP" ]]; then

0 commit comments

Comments
 (0)