From e2024bcab1d30152dc773cea18099f6e5bf978db Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Fri, 12 Jun 2026 19:38:55 -0400 Subject: [PATCH] fix(release): drop body-grep Security grouping, map polish type in cliff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The body=".*security" parser ran before the docs/chore skip rules, so any commit merely mentioning security in its body landed in the Security section (e.g. a docs commit and the CalVer->SemVer ci commit). Real security fixes never reached it — ^fix matches first — so the rule only ever produced miscategorized entries. Removed. polish(...) commits had no parser, and git-cliff defaults the group to the raw type — rendering a stray lowercase "polish" section. Mapped to Changed. --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index 99b1d71..8f981b0 100644 --- a/cliff.toml +++ b/cliff.toml @@ -39,7 +39,7 @@ commit_parsers = [ { message = "^perf", group = "Changed" }, { message = "^refactor", group = "Changed" }, { message = "^security", group = "Security" }, - { body = ".*security", group = "Security" }, + { message = "^polish", group = "Changed" }, { body = "BREAKING", group = "Breaking" }, { footer = "BREAKING.CHANGE", group = "Breaking" }, { message = "^docs", skip = true },