-
-
Notifications
You must be signed in to change notification settings - Fork 393
Expand file tree
/
Copy pathcliff.toml
More file actions
34 lines (31 loc) · 952 Bytes
/
cliff.toml
File metadata and controls
34 lines (31 loc) · 952 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
25
26
27
28
29
30
31
32
33
34
[changelog]
header = """
# Changelog
"""
body = """
{% if version %}\
## {{ version | trim_start_matches(pat="v") }}
{% else %}\
## Unreleased
{% endif %}\
{% for commit in commits %}
* {% if commit.remote.pr_title %}\
{{ commit.remote.pr_title | upper_first }}\
{% else %}\
{{ commit.message | split(pat="\n") | first | upper_first }}\
{% endif %}\
{% if commit.remote.pr_number %} ([#{{ commit.remote.pr_number }}](https://github.com/pyo3/maturin/pull/{{ commit.remote.pr_number }})){%- endif %}\
{% endfor %}\n
"""
[git]
conventional_commits = false
filter_unconventional = false
commit_parsers = [
{ field = "github.pr_labels", pattern = "internal", skip = true },
{ field = "github.pr_labels", pattern = "dependencies", skip = true },
{ message = ".*pre-commit autoupdate.*", skip = true },
{ message = ".*", group = "Other" },
]
[remote.github]
owner = "pyo3"
repo = "maturin"