File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 9292- Patch fix: :bug : (` :bug: ` )
9393- Docs: :book : (` :book: ` )
9494- Infra/Tests/Other: :running : (` :running: ` )
95+ - No release note: :ghost : (` :ghost: ` )
96+
97+ Use :ghost : (no release note) only for the PRs that change or revert unreleased
98+ changes, which don't deserve a release note. Please don't abuse it.
9599
96100You can also use the equivalent emoji directly, since GitHub doesn't
97101render the ` :xyz: ` aliases in PR titles.
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ cr_major_pattern=":warning:|$(printf "\xe2\x9a\xa0")"
55cr_minor_pattern=" :sparkles:|$( printf " \xe2\x9c\xa8" ) "
66cr_patch_pattern=" :bug:|$( printf " \xf0\x9f\x90\x9b" ) "
77cr_docs_pattern=" :book:|$( printf " \xf0\x9f\x93\x96" ) "
8+ cr_no_release_note_pattern=" :ghost:|$( printf " \xf0\x9f\x91\xbb" ) "
89cr_other_pattern=" :running:|$( printf " \xf0\x9f\x8f\x83" ) "
910
1011# cr::symbol-type-raw turns :xyz: and the corresponding emoji
@@ -24,6 +25,9 @@ cr::symbol-type-raw() {
2425 @ (${cr_docs_pattern} )? (' !' ))
2526 echo " docs"
2627 ;;
28+ @ (${cr_no_release_note_pattern} )? (' !' ))
29+ echo " no_release_note"
30+ ;;
2731 @ (${cr_other_pattern} )? (' !' ))
2832 echo " other"
2933 ;;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ while read commit_word commit; do
5050 patch)
5151 bugfixes=" ${bugfixes} - ${pr_title} (#${pr_number} )${NEWLINE} "
5252 ;;
53- docs|other)
53+ docs|no_release_note| other)
5454 # skip non-code-changes
5555 ;;
5656 unknown)
You can’t perform that action at this time.
0 commit comments