-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit-check.toml
More file actions
43 lines (41 loc) · 1.9 KB
/
Copy pathcommit-check.toml
File metadata and controls
43 lines (41 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Learn more: https://commit-check.com
# ============================================================================
# commit-check — org-level base configuration
#
# Repos within the commit-check org can inherit this config by placing the
# following directive at the top of their own commit-check.toml:
#
# inherit_from = "github:commit-check/.github:commit-check.toml"
#
# Local settings override the inherited values (shallow merge per section).
# See https://commit-check.com for full documentation.
# ============================================================================
[commit]
# https://www.conventionalcommits.org
conventional_commits = true
subject_capitalized = false
subject_imperative = true
subject_max_length = 100
subject_min_length = 5
# Keep this list in sync with the core default — restating it freezes the
# allowed set (same trap as allow_branch_types below). Core default:
# feat, fix, docs, style, refactor, test, chore, perf, build, ci
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "perf", "build", "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://conventionalbranch.org
conventional_branch = true
# allow_branch_types is deliberately unset. commit-check's own default is a
# superset of the Conventional Branch spec and already carries the bot
# prefixes (dependabot/, renovate/) alongside the AI agent ones. Restating the
# list here froze it: both bot prefixes had dropped out, so Renovate branches
# failed a check they cannot satisfy, and every type added upstream since was
# invisible to this organisation.
ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "shenxianpeng"]