Skip to content

Commit

Permalink
Fixes 3318: Anchor check for CHANGELOG tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pljones committed Dec 18, 2024
1 parent 0cd0044 commit a0c7627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/changelog-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ check_or_add_pr() {
fi
local title_suggestion_in_pr
title_suggestion_in_pr=$(gh pr view "$id" --json body,comments,reviews --jq '(.body), (.comments[] .body), (.reviews[] .body)' |
grep -oP '\bCHANGELOG:\s*\K([^\\]{5,})' | tail -n1 | sanitize_title || true)
grep -oP '^\bCHANGELOG:\s*\K([^\\]{5,})' | tail -n1 | sanitize_title || true)
if [[ "${title_suggestion_in_pr}" ]]; then
title="${title_suggestion_in_pr}"
if [[ "${title_suggestion_in_pr}" == "SKIP" ]]; then
Expand Down

0 comments on commit a0c7627

Please sign in to comment.