forked from deepStateMirrors/tabi
🔧 misc(CHANGELOG): improve emoji pattern
This commit is contained in:
parent
1e468f4acb
commit
1bb3c91b91
2 changed files with 67 additions and 5 deletions
|
@ -89,7 +89,7 @@ commit_preprocessors = [
|
|||
# Replace multiple spaces with a single space.
|
||||
{ pattern = ' +', replace = " " },
|
||||
# Remove gitmoji, both actual UTF emoji and :emoji:
|
||||
{ pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}]) *', replace = "" },
|
||||
{ pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}](?:\u{FE0F})?\u{200D}?) *', replace = "" },
|
||||
]
|
||||
# regex for parsing and grouping commits
|
||||
commit_parsers = [
|
||||
|
@ -100,6 +100,7 @@ commit_parsers = [
|
|||
{ message = "^refactor", group = "<!-- 4 -->♻️ Refactor" },
|
||||
{ message = "^test", group = "<!-- 5 -->✅ Testing" },
|
||||
{ message = "^misc", group = "<!-- 6 -->🔧 Miscellaneous tasks" },
|
||||
{ message = "^deprecate", group = "<!-- 7 -->🗑️️ Deprecations" },
|
||||
{ message = "^chore", skip = true },
|
||||
]
|
||||
# protect breaking changes from being skipped due to matching a skipping commit_parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue