forked from nextstrain/nextclade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cliff.toml
50 lines (34 loc) · 1.12 KB
/
cliff.toml
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
[changelog]
header = """
<details>
<summary><h3>Commit history</h3> (click to expand)</summary>
"""
# https://tera.netlify.app/docs/#introduction
body = """
{% for commit in commits %}
- [[`{{ commit.id | truncate(length=7, end="") }}`](https://github.com/{{ get_env(name="CIRCLE_PROJECT_USERNAME") }}/{{ get_env(name="CIRCLE_PROJECT_REPONAME") }}/commit/{{ commit.id }})] {{ commit.message }}
{% endfor %}
"""
trim = true
footer = """</details>"""
[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = false
# filter out the commits that are not conventional
filter_unconventional = false
# regex for preprocessing the commit messages
commit_preprocessors = []
# regex for parsing and grouping commits
commit_parsers = []
# filter out the commits that are not matched by commit parsers
filter_commits = false
# glob pattern for matching git tags
tag_pattern = "[0-9]*"
# regex for skipping tags
skip_tags = ""
# regex for ignoring tags
ignore_tags = ""
# sort the tags chronologically
date_order = true
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"