forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
24 lines (22 loc) · 907 Bytes
/
cliff.toml
File metadata and controls
24 lines (22 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[changelog]
header = "Changelog"
body = """
## {{ version | trim_start_matches(pat="v") }} ({{ timestamp | date(format="%Y-%m-%d") }})
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}** {% endif %}{{ commit.message }}{% endfor %}{% endfor %}
"""
trim = true
postprocessors = [{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/kubeflow/pipelines/pull/${1}))"}]
[git]
commit_parsers = [
{ message = "^feat", group = "Features"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^doc", group = "Documentation"},
{ message = "^perf", group = "Other"},
{ message = "^refactor", group = "Other"},
{ message = "^style", group = "Other"},
{ message = "^test", group = "Other"},
{ message = "^chore", group = "Other"},
]