From bfa344aa3f828b87ccac79c4985dedfe267f0db7 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 5 Sep 2024 09:28:37 -0400 Subject: [PATCH] chore(git-cliff): trim leading whitespace in commit messages (#2302) Commit messages were omitted from the generated changelog if they had any leading whitespace. Fix it. --- cliff.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cliff.toml b/cliff.toml index 624da85e54..7136fa3d43 100644 --- a/cliff.toml +++ b/cliff.toml @@ -20,6 +20,9 @@ trim = true conventional_commits = true filter_unconventional = true split_commits = false +commit_preprocessors = [ + { pattern = "^ *", replace = ""} +] commit_parsers = [ { message = "^[fF]eat", group = "feat"}, { message = "^[fF]ix", group = "fix"},