···
2
+
# https://keats.github.io/tera/docs/#introduction
4
+
{% for group, commits in commits | group_by(attribute="group") %}
5
+
=== {{ group | striptags | trim | upper_first }}
6
+
{% for commit in commits %}
7
+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
8
+
{% if commit.breaking %}[**breaking**] {% endif %}\
9
+
{{ commit.message | upper_first }}\
13
+
# remove the leading and trailing s
17
+
conventional_commits = true
18
+
filter_unconventional = true
19
+
split_commits = false
21
+
# Just things end users will care about
23
+
{ message = "^feat", group = "<!-- 0 -->๐ Features" },
24
+
{ message = "^fix", group = "<!-- 1 -->๐ Bug Fixes" },
25
+
{ message = "^doc", group = "<!-- 3 -->๐ Documentation" },
26
+
{ message = "^perf", group = "<!-- 4 -->โก Performance" },
27
+
{ message = "^style", group = "<!-- 5 -->๐จ Styling" },
28
+
{ message = "^test", group = "<!-- 6 -->๐งช Testing" },
29
+
{ message = "^chore|^ci|^refactor", skip = true },
30
+
{ body = ".*security", group = "<!-- 8 -->๐ก๏ธ Security" },
31
+
{ message = "^revert", group = "<!-- 9 -->โ๏ธ Revert" },
32
+
{ message = ".*", group = "<!-- 10 -->๐ผ Other" },
34
+
# filter out the commits that are not matched by commit parsers
35
+
filter_commits = false
37
+
sort_commits = "oldest"