diff --git a/cliff.toml b/cliff.toml index 44f89c68602..bdaa51b8015 100644 --- a/cliff.toml +++ b/cliff.toml @@ -109,17 +109,16 @@ commit_parsers = [ { message = "Merge remote-tracking branch 'origin/main' into", skip = true }, # classify commits into sections - { message = "feat", group = ":rocket: Features" }, - { message = "doc", group = ":notebook: Documentation" }, - { message = "fix", group = ":bug: Bug Fixes" }, - { message = "perf", group = ":runner: Performance" }, - { message = "refactor", group = ":sailboat: Refactor" }, - { message = "style", group = ":nail_care: Styling" }, - { message = "test", group = ":mag_right: Testing" }, - { message = "ci:", group = ":mag_right: CI/CD" }, - { message = "chore", group = ":clipboard: Miscellaneous Tasks" }, + { message = "feat(\\(.+\\))?:", group = ":rocket: Features" }, + { message = "(doc|docs)(\\(.+\\))?:", group = ":notebook: Documentation" }, + { message = "fix(\\(.+\\))?:", group = ":bug: Bug Fixes" }, + { message = "perf(\\(.+\\))?:", group = ":runner: Performance" }, + { message = "(refactor|refactoring)(\\(.+\\))?:", group = ":sailboat: Refactor" }, + { message = "style(\\(.+\\))?:", group = ":nail_care: Styling" }, + { message = "(test|tests|testing)(\\(.+\\))?:", group = ":mag_right: Testing" }, + { message = "ci(\\(.+\\))?:", group = ":mag_right: CI/CD" }, + { message = "chore(\\(.+\\))?:", group = ":clipboard: Miscellaneous Tasks" }, { body = ".*security", group = ":lock: Security" }, - { message = ".*(deps|Bump).*", group = "Dependencies"}, { message = ".*", group = ":clipboard: Miscellaneous Tasks"}, ]