Skip to content

Commit f87c2a0

Browse files
committed
chore: fix broken cliff.
1 parent 390267a commit f87c2a0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

cliff.toml

+3-9
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,9 @@ body = """
2828
{% else %}\
2929
## [unreleased]
3030
{% endif %}\
31-
{% if previous %}\
32-
{% if previous.commit_id %}
33-
[{{ previous.commit_id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ previous.commit_id }})...\
34-
[{{ commit_id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ commit_id }})
35-
{% endif %}\
36-
{% endif %}\
3731
{% for group, commits in commits | group_by(attribute="group") %}
3832
### {{ group | striptags | trim | upper_first }}
39-
{% for commit in commits %}
33+
{% for commit in commits | filter(attribute="merge_commit", value=false) %}
4034
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
4135
{% if commit.breaking %}[**breaking**] {% endif %}\
4236
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/BITNP/BIThesis/commit/{{ commit.id }}))\
@@ -59,7 +53,7 @@ conventional_commits = true
5953
# filter out the commits that are not conventional
6054
filter_unconventional = true
6155
# process each line of a commit as an individual commit
62-
split_commits = false
56+
split_commits = true
6357
# regex for preprocessing the commit messages
6458
commit_preprocessors = [
6559
# Replace issue numbers
@@ -89,7 +83,7 @@ commit_parsers = [
8983
# protect breaking changes from being skipped due to matching a skipping commit_parser
9084
protect_breaking_commits = false
9185
# filter out the commits that are not matched by commit parsers
92-
filter_commits = false
86+
filter_commits = true
9387
# regex for matching git tags
9488
# tag_pattern = "v[0-9].*"
9589
# regex for skipping tags

0 commit comments

Comments
 (0)