Skip to content

Commit

Permalink
chore(changelog): group unconventional commits as misc
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Sep 6, 2023
1 parent 6d7ac32 commit b3bd557
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cliff.toml
Expand Up @@ -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="") }}](<REPO>/commit/{{ commit.id }}))\
{{ commit.message | upper_first | trim }} - ([{{ commit.id | truncate(length=7, end="") }}](<REPO>/commit/{{ commit.id }}))\
{% endmacro -%}
{% for group, commits in commits | group_by(attribute="group") %}
Expand Down Expand Up @@ -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
Expand All @@ -77,6 +77,7 @@ commit_parsers = [
{ message = "^test", group = "<!-- 6 -->Testing" },
{ message = "^chore|ci", group = "<!-- 7 -->Miscellaneous Tasks" },
{ message = "^revert", group = "<!-- 8 -->Revert" },
{ message = ".*", group = "<!-- 9 -->Miscellaneous" },
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
Expand Down

0 comments on commit b3bd557

Please sign in to comment.