forked from F1R3FLY-io/f1r3node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
80 lines (76 loc) · 2.44 KB
/
cliff.toml
File metadata and controls
80 lines (76 loc) · 2.44 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# git-cliff configuration for f1r3node (Rust)
# https://git-cliff.org/docs/configuration
[changelog]
header = """# Changelog
All notable changes to the Rust implementation of F1r3node will be documented in this file.
This changelog is automatically generated from conventional commits.\n
"""
body = """
{%- if version %}
## [{{ version | trim_start_matches(pat="rust-") }}] - {{ 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 | split(pat="\n") | first | trim }}\
{% if commit.breaking %} [**breaking**]{% endif %}\
{%- if commit.github.pr_number %} ([#{{ commit.github.pr_number }}](https://github.com/F1R3FLY-io/f1r3node/pull/{{ commit.github.pr_number }})){% endif %}\
{% endfor %}
{% endfor %}\n
"""
trim = true
footer = ""
[git]
conventional_commits = true
filter_unconventional = true
split_commits = false
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^docs", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactoring" },
{ message = "^ci", group = "CI" },
{ message = "^test", group = "Testing" },
{ message = "^chore\\(release\\)", skip = true },
{ message = "^chore", group = "Miscellaneous" },
{ message = "^style", group = "Style" },
{ message = "^Merge", skip = true },
# Skip non-standard multi-scope commits (e.g. "casper/node/docker: ...")
{ message = "^[a-z]+/", skip = true },
# Skip other non-conventional commits
{ message = ".*", skip = true },
]
protect_breaking_commits = false
filter_commits = false
tag_pattern = "rust-v[0-9].*"
sort_commits = "newest"
[remote.github]
owner = "F1R3FLY-io"
repo = "f1r3node"
# Only include commits touching Rust implementation paths (shared repo with Scala)
include_path = [
"node/src/**",
"node/Cargo.toml",
"node/build.rs",
"node/Dockerfile",
"casper/**",
"rspace++/**",
"rholang/**",
"shared/**",
"models/**",
"crypto/**",
"block-storage/**",
"comm/**",
"graphz/**",
"Cargo.toml",
"Cargo.lock",
".github/workflows/build-test-and-deploy.yml",
".github/workflows/release.yml",
"cliff.toml",
"scripts/version.sh",
"scripts/release.sh",
"node/docker-commands.sh",
]