Skip to content

Commit f506fb3

Browse files
committed
fix: correct cliff.toml TOML syntax for commit_parsers
Move commit_parsers from invalid [git.commit_parsers] table header with bare inline tables to a proper array under the [git] section.
1 parent 7277960 commit f506fb3

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

cliff.toml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@ topo_order = false
4949
# Sort commits by oldest first
5050
sort_commits = "oldest"
5151

52-
[git.commit_parsers]
5352
# Conventional Commits parsers
54-
{ message = "^feat", group = "Added" }
55-
{ message = "^fix", group = "Fixed" }
56-
{ message = "^docs", group = "Documentation" }
57-
{ message = "^perf", group = "Performance" }
58-
{ message = "^refactor", group = "Refactored" }
59-
{ message = "^style", group = "Styling" }
60-
{ message = "^test", group = "Testing" }
61-
{ message = "^chore\\(release\\): prepare for", skip = true }
62-
{ message = "^chore", group = "Miscellaneous" }
63-
{ body = ".*security", group = "Security" }
53+
commit_parsers = [
54+
{ message = "^feat", group = "Added" },
55+
{ message = "^fix", group = "Fixed" },
56+
{ message = "^docs", group = "Documentation" },
57+
{ message = "^perf", group = "Performance" },
58+
{ message = "^refactor", group = "Refactored" },
59+
{ message = "^style", group = "Styling" },
60+
{ message = "^test", group = "Testing" },
61+
{ message = "^chore\\(release\\): prepare for", skip = true },
62+
{ message = "^chore", group = "Miscellaneous" },
63+
{ body = ".*security", group = "Security" },
64+
]

0 commit comments

Comments
 (0)