Skip to content

Commit fa1d5b5

Browse files
committed
feat: add cchk.toml as the org-level base config for inherit_from
This cchk.toml serves as the shared base configuration that other repositories can inherit via their own cchk.toml: inherit_from = "github:commit-check/.github:cchk.toml" Local settings in each repo's config override the inherited values.
1 parent 570a4bb commit fa1d5b5

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

cchk.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[commit]
2+
# https://www.conventionalcommits.org
3+
conventional_commits = true
4+
subject_capitalized = false
5+
subject_imperative = true
6+
subject_max_length = 100
7+
subject_min_length = 5
8+
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"]
9+
allow_merge_commits = true
10+
allow_revert_commits = true
11+
allow_empty_commits = false
12+
allow_fixup_commits = true
13+
allow_wip_commits = false
14+
require_body = false
15+
require_signed_off_by = false
16+
ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "coderabbitai[bot]"]
17+
18+
[branch]
19+
# https://conventional-branch.github.io/
20+
conventional_branch = true
21+
allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix", "ai", "claude", "codex", "copilot", "cursor"]
22+
require_rebase_target = "main"
23+
ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "shenxianpeng"]

0 commit comments

Comments
 (0)