From 3475f7675d8928b49c85878dfc2912407de57342 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed, 25 May 2022 14:00:49 +0200 Subject: chore: update changelog --- .github/workflows/cliff.toml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/cliff.toml b/.github/workflows/cliff.toml index ac6a0b3a..a183df33 100644 --- a/.github/workflows/cliff.toml +++ b/.github/workflows/cliff.toml @@ -19,18 +19,12 @@ body = """ {% for commit in commits | filter(attribute="scope") | sort(attribute="scope") %} - - _({{commit.scope}})_ {{ commit.message }} - {%- if commit.breaking %} - {% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}} - {%- endif -%} + - {% if commit.breaking %}[**breaking**] {% endif %}_({{commit.scope}})_ {{ commit.message }} {%- endfor %} {% for commit in commits %} {%- if commit.scope -%} {% else -%} - - {{ commit.message }} - {% if commit.breaking -%} - {% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}} - {% endif -%} + - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }} {% endif -%} {% endfor -%} {% raw %}{% endraw %}\ @@ -50,12 +44,15 @@ conventional_commits = true # filter out the commits that are not conventional filter_unconventional = true # regex for parsing and grouping commits +commit_preprocessors = [ + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/lunarvim/lunarvim/pull/${2}))"}, +] commit_parsers = [ { message = "(.*bump|.*Bump)", group = " Miscellaneous Tasks", skip = true}, { message = "^build", group = " Packaging"}, { message = "(^feat|^Feat|^\\[Feat)", group = " Features"}, { message = "(^bug|^Bug|^fix|^\\[Bug)", group = " Bugfix"}, - { message = "^refactor", group = " Refactor"}, + { message = "(^refactor|^ref)", group = " Refactor"}, { message = "^doc", group = " Documentation"}, { message = "^revert", group = " Revert"}, { message = "^perf", group = " Performance"}, -- cgit v1.2.3