-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathcliff.toml
More file actions
53 lines (51 loc) · 1.57 KB
/
Copy pathcliff.toml
File metadata and controls
53 lines (51 loc) · 1.57 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
53
# git-cliff configuration for projectbluefin/dakota
#
# Generates structured changelogs from Conventional Commits.
# Consumed by the release workflow (reusable-release.yml).
#
# Usage in release.yml:
# - name: Install git-cliff
# uses: taiki-e/install-action@<sha>
# with:
# tool: git-cliff
# - name: Generate changelog
# run: git cliff --latest --strip header > CHANGELOG.md
[changelog]
header = ""
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.scope %} (**{{ commit.scope }}**){% endif %}\
({{ commit.id | truncate(length=7, end="") }})\
{% endfor %}
{% endfor %}
"""
footer = """
---
*Generated by [git-cliff](https://git-cliff.org)*
"""
trim = true
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^docs", group = "Documentation" },
{ message = "^ci", group = "CI/CD" },
{ message = "^chore\\(deps\\)", group = "Dependencies" },
{ message = "^chore", group = "Miscellaneous" },
{ message = "^build", group = "Build" },
{ message = "^test", group = "Testing" },
{ message = "^revert", group = "Reverts" },
# Skip merge commits
{ message = "^Merge", skip = true },
]
filter_commits = false
tag_pattern = "v[0-9].*"
sort_commits = "newest"