From fa1d5b5e1e8fdf50987f8805b7f1e92466cbe5be Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 22 Jun 2026 23:24:25 +0300 Subject: [PATCH] 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. --- cchk.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cchk.toml diff --git a/cchk.toml b/cchk.toml new file mode 100644 index 0000000..61cb9be --- /dev/null +++ b/cchk.toml @@ -0,0 +1,23 @@ +[commit] +# https://www.conventionalcommits.org +conventional_commits = true +subject_capitalized = false +subject_imperative = true +subject_max_length = 100 +subject_min_length = 5 +allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"] +allow_merge_commits = true +allow_revert_commits = true +allow_empty_commits = false +allow_fixup_commits = true +allow_wip_commits = false +require_body = false +require_signed_off_by = false +ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "coderabbitai[bot]"] + +[branch] +# https://conventional-branch.github.io/ +conventional_branch = true +allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix", "ai", "claude", "codex", "copilot", "cursor"] +require_rebase_target = "main" +ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "shenxianpeng"]