-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
37 lines (32 loc) · 930 Bytes
/
Copy pathcliff.toml
File metadata and controls
37 lines (32 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[changelog]
body = """
{% if commits | length == 0 %}
<!-- no entries -->
{% else %}
{% for group, commits in commits | group_by(attribute=\"group\") -%}
### {{ group }}
{% for commit in commits -%}
- {{ commit.message | trim }}
{% endfor %}
{% if not loop.last %}
{% endif -%}
{% endfor -%}
{% endif %}
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
filter_commits = true
split_commits = false
sort_commits = "newest"
commit_parsers = [
{ message = "^chore\\(release\\):", skip = true },
{ message = "^release:", skip = true },
{ message = "^feat(\\(.+\\))?:", group = "Added" },
{ message = "^fix(\\(.+\\))?:", group = "Fixed" },
{ message = "^bugfix(\\(.+\\))?:", group = "Fixed" },
{ message = "^perf(\\(.+\\))?:", group = "Changed" },
{ message = "^(refactor|docs|build|ci|style|test|chore)(\\(.+\\))?:", group = "Changed" },
{ message = "^revert", group = "Changed" },
]