chore: update git cliff config
parent
474e685941
commit
dd40dcb0b2
32
cliff.toml
32
cliff.toml
|
@ -41,25 +41,27 @@ filter_unconventional = true
|
||||||
# process each line of a commit as an individual commit
|
# process each line of a commit as an individual commit
|
||||||
split_commits = false
|
split_commits = false
|
||||||
# regex for preprocessing the commit messages
|
# regex for preprocessing the commit messages
|
||||||
|
commit_parsers = [
|
||||||
|
{message = "[\\.]{3}", group = "Ignore", skip = true},
|
||||||
|
{message = "^feat", group = "Features"},
|
||||||
|
{message = "^fix", group = "Bug Fixes"},
|
||||||
|
{message = "^doc", group = "Documentation"},
|
||||||
|
{message = "^perf", group = "Performance"},
|
||||||
|
{message = "^refactor", group = "Refactor"},
|
||||||
|
{message = "^style", group = "Styling"},
|
||||||
|
{message = "^test", group = "Testing"},
|
||||||
|
{message = "^media", group = "Media"},
|
||||||
|
{message = "^chore\\(release\\): prepare for", skip = true},
|
||||||
|
{message = "^chore", group = "Miscellaneous"},
|
||||||
|
{message = "wip", group = "Work in Progress", skip = true},
|
||||||
|
{message = "^(ci|dev)", group = "Operations & Development"},
|
||||||
|
{body = ".*security", group = "Security"},
|
||||||
|
]
|
||||||
commit_preprocessors = [
|
commit_preprocessors = [
|
||||||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"}, # replace issue numbers
|
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"}, # replace issue numbers
|
||||||
]
|
]
|
||||||
# regex for parsing and grouping commits
|
|
||||||
commit_parsers = [
|
|
||||||
{ message = "^feat", group = "Features" },
|
|
||||||
{ message = "^fix", group = "Bug Fixes" },
|
|
||||||
{ message = "^doc", group = "Documentation" },
|
|
||||||
{ message = "^perf", group = "Performance" },
|
|
||||||
{ message = "^refactor", group = "Refactor" },
|
|
||||||
{ message = "^style", group = "Styling" },
|
|
||||||
{ message = "^test", group = "Testing" },
|
|
||||||
{ message = "^media", group = "Media" },
|
|
||||||
{ message = "^chore\\(release\\): prepare for", skip = true },
|
|
||||||
{ message = "^chore", group = "Miscellaneous Tasks" },
|
|
||||||
{ body = ".*security", group = "Security" },
|
|
||||||
]
|
|
||||||
# protect breaking changes from being skipped due to matching a skipping commit_parser
|
# protect breaking changes from being skipped due to matching a skipping commit_parser
|
||||||
protect_breaking_commits = false
|
protect_breaking_commits = true
|
||||||
# filter out the commits that are not matched by commit parsers
|
# filter out the commits that are not matched by commit parsers
|
||||||
filter_commits = false
|
filter_commits = false
|
||||||
# glob pattern for matching git tags
|
# glob pattern for matching git tags
|
||||||
|
|
Loading…
Reference in New Issue