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 92
92
- Patch fix: :bug : (` :bug: ` )
93
93
- Docs: :book : (` :book: ` )
94
94
- 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.
95
99
96
100
You can also use the equivalent emoji directly, since GitHub doesn't
97
101
render 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")"
5
5
cr_minor_pattern=" :sparkles:|$( printf " \xe2\x9c\xa8" ) "
6
6
cr_patch_pattern=" :bug:|$( printf " \xf0\x9f\x90\x9b" ) "
7
7
cr_docs_pattern=" :book:|$( printf " \xf0\x9f\x93\x96" ) "
8
+ cr_no_release_note_pattern=" :ghost:|$( printf " \xf0\x9f\x91\xbb" ) "
8
9
cr_other_pattern=" :running:|$( printf " \xf0\x9f\x8f\x83" ) "
9
10
10
11
# cr::symbol-type-raw turns :xyz: and the corresponding emoji
@@ -24,6 +25,9 @@ cr::symbol-type-raw() {
24
25
@ (${cr_docs_pattern} )? (' !' ))
25
26
echo " docs"
26
27
;;
28
+ @ (${cr_no_release_note_pattern} )? (' !' ))
29
+ echo " no_release_note"
30
+ ;;
27
31
@ (${cr_other_pattern} )? (' !' ))
28
32
echo " other"
29
33
;;
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ while read commit_word commit; do
50
50
patch)
51
51
bugfixes=" ${bugfixes} - ${pr_title} (#${pr_number} )${NEWLINE} "
52
52
;;
53
- docs|other)
53
+ docs|no_release_note| other)
54
54
# skip non-code-changes
55
55
;;
56
56
unknown)
You can’t perform that action at this time.
0 commit comments