-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcliff.toml
More file actions
45 lines (39 loc) · 1.89 KB
/
Copy pathcliff.toml
File metadata and controls
45 lines (39 loc) · 1.89 KB
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
38
39
40
41
42
43
44
45
[changelog]
header = ""
body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group }}
{% for commit in commits %}
- {{ commit.message | split(pat="\n") | first | trim }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/commit/{{ commit.id }}))
{%- endfor %}
{% endfor %}
"""
trim = true
[git]
# Parse Conventional Commit types while retaining useful legacy commit subjects.
conventional_commits = true
filter_unconventional = false
split_commits = false
protect_breaking_commits = true
commit_parsers = [
# Keep internal-only and automated changes out of user-facing release notes.
{ message = "(?i)^merge (pull request|branch)", skip = true },
{ message = "(?i)^(test|style|ci|build|chore)(\\([^)]*\\))?!?:", skip = true },
{ message = "(?i)^bump ", skip = true },
# Conventional Commits, with optional scopes and breaking-change markers.
{ message = "(?i)^security(\\([^)]*\\))?!?:", group = "<!-- 0 -->🔒 Security" },
{ message = "(?i)^feat(\\([^)]*\\))?!?:", group = "<!-- 1 -->🚀 Features" },
{ message = "(?i)^fix(\\([^)]*\\))?!?:", group = "<!-- 2 -->🐛 Bug Fixes" },
{ message = "(?i)^perf(\\([^)]*\\))?!?:", group = "<!-- 3 -->⚡ Performance" },
{ message = "(?i)^(refactor|docs)(\\([^)]*\\))?!?:", group = "<!-- 4 -->✨ Improvements" },
# Classify older, non-conventional subjects already present in the history.
{ message = "(?i)^(add|implement|introduce|new)\\b", group = "<!-- 1 -->🚀 Features" },
{ message = "(?i)^(fix|bug|patch)\\b", group = "<!-- 2 -->🐛 Bug Fixes" },
{ message = "(?i)^(update|upgrade|improve|enhance|change|refactor|clean|remove|delete)\\b", group = "<!-- 4 -->✨ Improvements" },
{ message = ".*", group = "<!-- 5 -->🔄 Other Changes" },
]
filter_commits = false
tag_pattern = "v[0-9].*"
[remote.github]
owner = "dougmaitelli"
repo = "DockDash"