From b3bd5577ba103652f4a6945598d5070c8877ea4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Wed, 6 Sep 2023 20:12:24 +0300 Subject: [PATCH] chore(changelog): group unconventional commits as misc --- cliff.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cliff.toml b/cliff.toml index 775267c9b..1c1ca31fa 100644 --- a/cliff.toml +++ b/cliff.toml @@ -26,7 +26,7 @@ body = """ {% macro commit(commit) -%} - {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}\ - {{ commit.message | upper_first }} - ([{{ commit.id | truncate(length=7, end="") }}](/commit/{{ commit.id }}))\ + {{ commit.message | upper_first | trim }} - ([{{ commit.id | truncate(length=7, end="") }}](/commit/{{ commit.id }}))\ {% endmacro -%} {% for group, commits in commits | group_by(attribute="group") %} @@ -59,7 +59,7 @@ postprocessors = [ # parse the commits based on https://www.conventionalcommits.org conventional_commits = true # filter out the commits that are not conventional -filter_unconventional = true +filter_unconventional = false # process each line of a commit as an individual commit split_commits = false # regex for preprocessing the commit messages @@ -77,6 +77,7 @@ commit_parsers = [ { message = "^test", group = "Testing" }, { message = "^chore|ci", group = "Miscellaneous Tasks" }, { message = "^revert", group = "Revert" }, + { message = ".*", group = "Miscellaneous" }, ] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = false