67 lines
2.5 KiB
TOML
67 lines
2.5 KiB
TOML
[remote.github]
|
|
owner = "objz"
|
|
repo = "rmcl"
|
|
|
|
[changelog]
|
|
body = """
|
|
{% if version %}\
|
|
## {{ version | trim_start_matches(pat="v") }} - {{ timestamp | date(format="%Y-%m-%d") }}
|
|
{% else %}\
|
|
## unreleased
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | striptags | trim }}
|
|
{% for commit in commits %}
|
|
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
|
|
{% if commit.breaking %}[**breaking**] {% endif %}\
|
|
{{ commit.message }}\
|
|
{% if commit.github.pr_number %} ([#{{ commit.github.pr_number }}](https://github.com/objz/rmcl/pull/{{ commit.github.pr_number }})){% endif %}\
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
|
|
### new contributors
|
|
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
|
|
- @{{ contributor.username }} made their first contribution\
|
|
{% if contributor.pr_number %} in [#{{ contributor.pr_number }}](https://github.com/objz/rmcl/pull/{{ contributor.pr_number }}){% endif %}\
|
|
{% endfor %}
|
|
{% endif %}
|
|
"""
|
|
trim = true
|
|
render_always = true
|
|
postprocessors = []
|
|
|
|
[git]
|
|
conventional_commits = true
|
|
filter_unconventional = false
|
|
require_conventional = false
|
|
split_commits = false
|
|
commit_preprocessors = [
|
|
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/objz/rmcl/issues/${2}))" },
|
|
]
|
|
protect_breaking_commits = false
|
|
commit_parsers = [
|
|
{ message = "^feat", group = "<!-- 0 -->features" },
|
|
{ message = "^fix", group = "<!-- 1 -->bug fixes" },
|
|
{ message = "^doc", group = "<!-- 3 -->documentation" },
|
|
{ message = "^perf", group = "<!-- 4 -->performance" },
|
|
{ message = "^refactor", group = "<!-- 2 -->refactoring" },
|
|
{ message = "^style", group = "<!-- 5 -->styling" },
|
|
{ message = "^test", group = "<!-- 6 -->testing" },
|
|
{ message = "^chore\\(release\\): prepare for", skip = true },
|
|
{ message = "^chore\\(deps.*\\)", skip = true },
|
|
{ message = "^chore\\(pr\\)", skip = true },
|
|
{ message = "^chore\\(pull\\)", skip = true },
|
|
{ message = "^chore|^ci", group = "<!-- 7 -->maintenance" },
|
|
{ body = ".*security", group = "<!-- 8 -->security" },
|
|
{ message = "^revert", group = "<!-- 9 -->reverts" },
|
|
{ message = ".*", group = "<!-- 10 -->other changes" },
|
|
]
|
|
filter_commits = false
|
|
fail_on_unmatched_commit = false
|
|
link_parsers = []
|
|
use_branch_tags = false
|
|
topo_order = false
|
|
topo_order_commits = true
|
|
sort_commits = "oldest"
|
|
recurse_submodules = false
|