Repository navigation
Expand file tree
/
Copy pathcliff.toml
More file actions
60 lines (57 loc) · 2.19 KB
/
Copy pathcliff.toml
File metadata and controls
60 lines (57 loc) · 2.19 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
## {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## Unreleased
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for group, commits in commits | group_by(attribute="scope") %}
#### {{ group | upper_first }}
{% for commit in commits %}
* {{ commit.message | split(pat="\n") | first | trim }}\
{% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif %}\
{% if commit.remote.pr_number %} in #{{ commit.remote.pr_number }}{%- endif %}
{% endfor %}
{% endfor %}\
{% endfor %}\n
"""
footer = """
<!-- generated by git-cliff -->
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
require_conventional = true
split_commits = false
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->✨ Features", default_scope = "General" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^perf", group = "<!-- 2 -->🏎️ Performance" },
{ message = "^refactor", group = "<!-- 3 -->♻️ Refactor" },
{ message = "^test", group = "<!-- 5 -->🧪 Testing" },
{ message = "^agent", group = "<!-- 6 -->🤖 Coding Agents", default_scope = "Config" },
{ message = "^doc", group = "<!-- 7 -->📚 Documentation", default_scope = "Unscoped" },
{ message = "^build", group = "<!-- 8 -->🛠️ Build System" },
{ message = "^ci", group = "<!-- 9 -->🚧 CI/CD", default_scope = "GitHub Actions" },
{ message = "^style", group = "<!-- 10 -->🎨 Style & Formatting" },
{ message = "^chore\\(release\\): update changelog", skip = true },
{ message = "^chore", group = "<!-- 11 -->🧰 Tooling & Tasks" },
{ body = ".*security", group = "<!-- 4 -->🛡️ Security" },
]
filter_commits = true
fail_on_unmatched_commit = true
topo_order = true
sort_commits = "oldest"
[bump]
breaking_always_bump_major = false
features_always_bump_minor = false
[remote.github]
owner = "supermodellabs"
repo = "winline"