Skip to content

Commit 4ccfd1c

Browse files
authored
chore: rename commit_message branch_name to message branch
1 parent 8d3e10b commit 4ccfd1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.commit-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
checks:
22

3-
- check: commit_message
3+
- check: message
44
regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)|(Merge).*|(fixup!.*)'
55
error: "The commit message should be structured as follows:\n\n
66
<type>[optional scope]: <description>\n
@@ -9,7 +9,7 @@ checks:
99
More details please refer to https://www.conventionalcommits.org"
1010
suggest: git commit --amend --no-verify
1111

12-
- check: branch_name
12+
- check: branch
1313
regex: ^(bugfix|feature|release|hotfix|task)\/.+|(master)|(main)|(HEAD)|(PR-.+)
1414
error: "Branches must begin with these types: bugfix/ feature/ release/ hotfix/ task/"
1515
suggest: git checkout -b type/branch_name

0 commit comments

Comments
 (0)