|
| 1 | +# ============================================================================ |
| 2 | +# commit-check — org-level base configuration |
| 3 | +# |
| 4 | +# Repos within the commit-check org can inherit this config by placing the |
| 5 | +# following directive at the top of their own commit-check.toml: |
| 6 | +# |
| 7 | +# inherit_from = "github:commit-check/.github:commit-check.toml" |
| 8 | +# |
| 9 | +# Local settings override the inherited values (shallow merge per section). |
| 10 | +# See https://github.com/commit-check/commit-check for full documentation. |
| 11 | +# ============================================================================ |
| 12 | + |
| 13 | +[commit] |
| 14 | +# https://www.conventionalcommits.org |
| 15 | +conventional_commits = true |
| 16 | +subject_capitalized = false |
| 17 | +subject_imperative = true |
| 18 | +subject_max_length = 100 |
| 19 | +subject_min_length = 5 |
| 20 | +allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"] |
| 21 | +allow_merge_commits = true |
| 22 | +allow_revert_commits = true |
| 23 | +allow_empty_commits = false |
| 24 | +allow_fixup_commits = true |
| 25 | +allow_wip_commits = false |
| 26 | +require_body = false |
| 27 | +require_signed_off_by = false |
| 28 | +ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "coderabbitai[bot]"] |
| 29 | + |
| 30 | +[branch] |
| 31 | +# https://conventional-branch.github.io/ |
| 32 | +conventional_branch = true |
| 33 | +allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix", "ai", "claude", "codex", "copilot", "cursor"] |
| 34 | +ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "shenxianpeng"] |
0 commit comments