-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathcliff.toml
More file actions
52 lines (48 loc) · 1.65 KB
/
Copy pathcliff.toml
File metadata and controls
52 lines (48 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
49
50
51
52
# git-cliff configuration
# https://git-cliff.org/docs/configuration
[changelog]
header = """# Changelog
All notable changes to Kandev.\n
"""
body = """
{# Update when team changes — must match GitHub login (lowercased). Check repo admins at https://github.com/orgs/kdlbs/people #}\
{% set maintainers = ["carlosflorencio", "jcfs", "zeval", "nnobre"] %}\
{% 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 commit in commits %}
- {{ commit.message }}\
{% if commit.remote.username and commit.remote.username | lower not in maintainers %} by @{{ commit.remote.username }}{% endif %}\
{% endfor %}
{% endfor %}\n
"""
trim = true
footer = ""
[remote.github]
owner = "kdlbs"
repo = "kandev"
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
commit_preprocessors = [
# Convert (#NNN) references into clickable GitHub PR links
{ pattern = '\(#(\d+)\)', replace = "([#${1}](https://github.com/kdlbs/kandev/pull/${1}))" },
]
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Features" },
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
{ message = "^perf", group = "<!-- 2 -->Performance" },
{ message = "^refactor", group = "<!-- 3 -->Refactoring" },
{ message = "^docs", group = "<!-- 4 -->Documentation" },
{ message = "^release", skip = true },
{ message = "^chore", skip = true },
{ message = "^ci", skip = true },
{ message = "^test", skip = true },
]
tag_pattern = "v[0-9]*"
sort_commits = "newest"