Skip to content

Commit df4653a

Browse files
committed
fix(cliff): Remove duplicate [git.conventional_commits] section
Fixed TOML duplicate key error: Error found: - Line 117: duplicate key [git.conventional_commits] - Previous [git] section at line 100 already had conventional_commits Root cause: - [git] section defined: conventional_commits, filter_unconventional, split_commits, sort - [git.conventional_commits] section tried to redefine: types, scopes - TOML parser treats these as duplicate keys Solution: - Removed duplicate [git.conventional_commits] section (lines 117-121) - Commented out scope keys (they were redundant) - Kept all configuration in [git] section Fixed cliff.toml structure: - All git-related config in single [git] section - No duplicate key definitions - git-cliff should parse correctly This should resolve 'duplicate key' error in git-cliff.
1 parent 7793a0b commit df4653a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

cliff.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ types = ["feat", "fix", "perf", "refactor", "chore", "test", "docs", "style"]
120120
# Feature additions, bug fixes, performance, refactoring, maintenance, testing, docs, styling
121121

122122
# Commit types with changelog scope
123-
scope_enhancement = ["feat"]
124-
scope_bug = ["fix"]
125-
scope_performance = ["perf"]
126-
scope_refactor = ["refactor"]
127-
scope_breaking = ["BREAKING CHANGE"]
123+
# scope_enhancement = ["feat"]
124+
# scope_bug = ["fix"]
125+
# scope_performance = ["perf"]
126+
# scope_refactor = ["refactor"]
127+
# scope_breaking = ["BREAKING CHANGE"]
128128

129129
# Default commit type
130-
default_scope = "misc"
130+
# default_scope = "misc"
131131

132132
[remote]
133133
# Remote repository for git operations

0 commit comments

Comments
 (0)