Skip to content

Commit ed04e7c

Browse files
committed
chore: fix gitcliff config
1 parent 2316879 commit ed04e7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cliff.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body = """
1111
{% endif %}\
1212
{% for group, commits in commits | group_by(attribute="group") %}
1313
### {{ group | striptags | trim | upper_first }}
14-
{% for commit in commits %}
14+
{% for commit in commits | unique(attribute="message") %}
1515
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
1616
{% if commit.breaking %}[**breaking**] {% endif %}\
1717
{{ commit.message | upper_first }}\
@@ -42,7 +42,6 @@ commit_parsers = [
4242
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
4343
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
4444
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
45-
{% for commit in commits | unique(attribute="message") %},
4645
]
4746
protect_breaking_commits = false
4847
filter_commits = false

0 commit comments

Comments
 (0)