diff --git a/cliff.toml b/cliff.toml index 5577094d..ebc9e0b5 100644 --- a/cliff.toml +++ b/cliff.toml @@ -55,19 +55,21 @@ commit_preprocessors = [ ] # regex for parsing and grouping commits commit_parsers = [ - { message = "^feat", group = "Features"}, - { message = "^fix", group = "Bug Fixes"}, - { 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 = "^feat", group = "Features"}, + { message = "^[fF]ix", group = "Bug Fixes"}, + { message = "^refactor", group = "Refactor"}, + { message = "^doc", group = "Documentation"}, + { message = "^perf", group = "Performance"}, + { message = "^style", group = "Styling"}, + { message = "^test", group = "Testing"}, { message = "^chore\\(release\\): prepare for", skip = true}, { message = "^chore\\(pr\\)", skip = true}, { message = "^chore\\(pull\\)", skip = true}, - { message = "^chore", group = "Miscellaneous Tasks"}, - { body = ".*security", group = "Security"}, + { message = "^chore", group = "Miscellaneous Tasks"}, + { body = ".*security", group = "Security"}, + { message = "^build", group = "Build"}, + { message = "^ci", group = "Continuous Integration"}, + { message = "^revert", group = "Reverted Commits"}, ] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = false diff --git a/committed.toml b/committed.toml index 5111d86e..a380f5c2 100644 --- a/committed.toml +++ b/committed.toml @@ -14,3 +14,5 @@ subject_not_punctuated = true line_length = 0 # disable subject length subject_length = 0 +# default allowed_types [ "chore", "docs", "feat", "fix", "perf", "refactor", "style", "test" ] +allowed_types = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test" ]