-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
46 lines (42 loc) · 1.51 KB
/
Copy pathcliff.toml
File metadata and controls
46 lines (42 loc) · 1.51 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
# git-cliff configuration
# https://git-cliff.org/docs/configuration
[changelog]
body = """
{%- for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{%- for commit in commits %}
- {{ commit.message | split(pat="\n") | first | trim }}\
{%- if commit.remote.username %} by @{{ commit.remote.username }}{%- endif %}\
{%- if commit.remote.pr_number %} in #{{ commit.remote.pr_number }}{%- endif %}
{%- endfor %}
{% endfor %}
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = false
split_commits = false
protect_breaking_commits = false
tag_pattern = "v[0-9].*"
commit_parsers = [
{ message = "^Merge", skip = true },
{ message = "^Update changelog", skip = true },
{ message = "^Auto commit", skip = true },
{ message = "^docs: update changelog", skip = true },
{ message = "^docs: update CONTRIBUTORS", skip = true },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^style", group = "Style" },
{ message = "^test", group = "Testing" },
{ message = "^ci", group = "CI/CD" },
{ message = "^build", group = "Build" },
{ message = "^chore", group = "Chore" },
{ message = "^revert", group = "Reverted" },
{ message = ".*", group = "Other Changes" },
]
[remote.github]
owner = "somaz94"
repo = "go-git-commit-action"