Skip to content

Commit f2c5d77

Browse files
committed
ci(commit-check): add config for local use
Commit check action version 2 has moved a lot of the configuration of the workflow into the commit-check tool's configuration file. Additionally this allows users to run commit-check locally all of our rules in place using "commit-check -nme". See their usage examples [1] for additional information. [1] https://commit-check.github.io/commit-check/example.html Signed-off-by: Randolph Sapp <[email protected]>
1 parent d61076a commit f2c5d77

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

commit-check.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# https://github.com/commit-check/commit-check
2+
3+
[commit]
4+
# https://www.conventionalcommits.org
5+
conventional_commits = true
6+
subject_capitalized = false
7+
subject_imperative = true
8+
subject_max_length = 80
9+
subject_min_length = 5
10+
allow_commit_types = [
11+
"build",
12+
"chore",
13+
"ci",
14+
"docs",
15+
"feat",
16+
"fix",
17+
"refactor",
18+
"style",
19+
]
20+
allow_merge_commits = false
21+
allow_revert_commits = false
22+
allow_empty_commits = false
23+
allow_fixup_commits = false
24+
allow_wip_commits = false
25+
require_signed_off_by = true
26+
27+
[branch]
28+
# https://conventional-branch.github.io/
29+
conventional_branch = false

0 commit comments

Comments
 (0)