-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
48 lines (45 loc) · 1.65 KB
/
Copy pathcliff.toml
File metadata and controls
48 lines (45 loc) · 1.65 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
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration
#
# Used by .github/workflows/release.yml to build GitHub release bodies from
# conventional commits between the previous tag and the tag being published.
[changelog]
header = ""
body = """
## What's Changed
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits -%}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | split(pat="\n") | first | trim }}{% if commit.breaking %} **BREAKING**{% endif %}
{% endfor %}
{% endfor %}
{% if previous.version %}
**Full Changelog**: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/compare/{{ previous.version }}...{{ version }}
{% endif %}
"""
footer = ""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
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 = "^build", group = "<!-- 5 -->Build" },
{ message = "^ci", group = "<!-- 6 -->CI" },
{ message = "^chore|^style|^test", group = "<!-- 7 -->Miscellaneous" },
{ message = "^revert", group = "<!-- 8 -->Reverts" },
{ message = "^Merge ", skip = true },
{ body = ".*security", group = "<!-- 9 -->Security" },
]
protect_breaking_commits = true
filter_commits = false
topo_order = false
sort_commits = "newest"
[remote.github]
owner = "vasiltop"
repo = "1coder"