Skip to content

Commit 1d10ed2

Browse files
authored
chore: add perf and build to allowed commit types (#47)
The org config froze allow_commit_types at an older subset of the core default (feat, fix, docs, style, refactor, test, chore, ci), silently dropping perf and build which are in the upstream default. Add a comment warning against freezing the list, mirroring the allow_branch_types note.
1 parent caa31b4 commit 1d10ed2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎commit-check.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ subject_capitalized = false
1818
subject_imperative = true
1919
subject_max_length = 100
2020
subject_min_length = 5
21-
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"]
21+
# Keep this list in sync with the core default — restating it freezes the
22+
# allowed set (same trap as allow_branch_types below). Core default:
23+
# feat, fix, docs, style, refactor, test, chore, perf, build, ci
24+
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "perf", "build", "ci"]
2225
allow_merge_commits = true
2326
allow_revert_commits = true
2427
allow_empty_commits = false

0 commit comments

Comments
 (0)