Skip to content

Commit 91b50c9

Browse files
authored
Merge pull request #3639 from softins/changelog-helper-show-skip
Update changelog-helper tool to report SKIPped PRs
2 parents 8e7703d + 8813b19 commit 91b50c9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/changelog-helper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,11 @@ check_or_add_pr() {
200200
title_suggestion_in_pr=$(gh pr view "$id" --json body,comments,reviews --jq '(.body), (.comments[] .body), (.reviews[] .body)' |
201201
grep -oP '^\bCHANGELOG:\s*\K([^\\]{5,})' | tail -n1 | sanitize_title || true)
202202
if [[ "${title_suggestion_in_pr}" ]]; then
203-
title="${title_suggestion_in_pr}"
204203
if [[ "${title_suggestion_in_pr}" == "SKIP" ]]; then
204+
echo "-> Skipping PR #${id} ($title, @${author})"
205205
return
206206
fi
207+
title="${title_suggestion_in_pr}"
207208
fi
208209
echo -n "-> Missing PR #${id} (${title}, @${author})"
209210
if [[ "${ACTION}" != add-missing-entries ]]; then

0 commit comments

Comments
 (0)