-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
34 lines (33 loc) · 1.2 KB
/
Copy pathcliff.toml
File metadata and controls
34 lines (33 loc) · 1.2 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
[changelog]
header = "# Changelog\n\nAll notable changes to hl7types are documented here.\n\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 }}
{% for commit in commits %}
- {{ commit.message | upper_first }}
{%- endfor %}
{% endfor %}\n
"""
trim = true
[git]
commit_preprocessors = [
{ pattern = '\n[\s\S]*', replace = "" },
{ pattern = '^(?i)(feat|fix|bug|refactor|docs?|test|chore):\s*', replace = "" },
{ pattern = '^(?i)(feature|bug|fix)/(\d+[-\s])?', replace = "" },
]
conventional_commits = false
filter_unconventional = false
commit_parsers = [
{ message = "^[Mm]erge", skip = true },
{ message = "^[Ff]eat", group = "Features" },
{ message = "^[Bb]ug", group = "Bug Fixes" },
{ message = "^[Ff]ix", group = "Bug Fixes" },
{ message = "^[Rr]efactor", group = "Refactoring" },
{ message = "^[Dd]oc", group = "Documentation" },
{ message = "^[Tt]est", group = "Testing" },
{ message = "^[Cc]hore", group = "Chores" },
{ message = ".*", group = "Changes" },
]
filter_commits = false
tag_pattern = "[0-9].*"