-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
42 lines (40 loc) · 1.58 KB
/
Copy pathcliff.toml
File metadata and controls
42 lines (40 loc) · 1.58 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
# Release-notes config for .github/workflows/release.yml. git-cliff runs over
# the latest tag's commit range (`--latest`) and its output becomes the GitHub
# Release body. Grouping is by conventional-commit type parsed from the commit
# subject; the "<!-- N -->" prefixes only fix section order and are stripped for
# display. Non-conventional commits fall through to "Other".
[changelog]
header = ""
body = """
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}
"""
trim = true
footer = ""
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
protect_breaking_commits = true
filter_commits = false
topo_order = false
sort_commits = "newest"
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Features" },
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
{ message = "^perf", group = "<!-- 2 -->Performance" },
{ message = "^refactor", group = "<!-- 3 -->Refactor" },
{ message = "^docs", group = "<!-- 4 -->Documentation" },
{ message = "^test", group = "<!-- 5 -->Tests" },
{ message = "^build", group = "<!-- 6 -->Build" },
{ message = "^ci", group = "<!-- 7 -->CI" },
{ message = "^chore\\(deps\\)", group = "<!-- 8 -->Dependencies" },
{ message = "^chore", group = "<!-- 9 -->Chores" },
{ message = "^style", group = "<!-- 10 -->Styling" },
{ message = "^revert", group = "<!-- 11 -->Reverts" },
{ message = ".*", group = "<!-- 12 -->Other" },
]