summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-05-25 14:00:49 +0200
committerkylo252 <[email protected]>2022-05-25 14:00:49 +0200
commit3475f7675d8928b49c85878dfc2912407de57342 (patch)
tree09215dfe6e2118cae9e5abf6c257f4a12d9cedc4 /.github
parentfc63a66ce8d26ab7acf5e178b85d0f69b097ca7e (diff)
chore: update changelog
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cliff.toml15
1 files changed, 6 insertions, 9 deletions
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 = "<!-- 7 --> Miscellaneous Tasks", skip = true},
{ message = "^build", group = "<!-- 0 --> Packaging"},
{ message = "(^feat|^Feat|^\\[Feat)", group = "<!-- 1 --> Features"},
{ message = "(^bug|^Bug|^fix|^\\[Bug)", group = "<!-- 2 --> Bugfix"},
- { message = "^refactor", group = "<!-- 3 --> Refactor"},
+ { message = "(^refactor|^ref)", group = "<!-- 3 --> Refactor"},
{ message = "^doc", group = "<!-- 4 --> Documentation"},
{ message = "^revert", group = "<!-- 5 --> Revert"},
{ message = "^perf", group = "<!-- 6 --> Performance"},