We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3e10b commit 4ccfd1cCopy full SHA for 4ccfd1c
.commit-check.yml
@@ -1,6 +1,6 @@
1
checks:
2
3
- - check: commit_message
+ - check: message
4
regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)|(Merge).*|(fixup!.*)'
5
error: "The commit message should be structured as follows:\n\n
6
<type>[optional scope]: <description>\n
@@ -9,7 +9,7 @@ checks:
9
More details please refer to https://www.conventionalcommits.org"
10
suggest: git commit --amend --no-verify
11
12
- - check: branch_name
+ - check: branch
13
regex: ^(bugfix|feature|release|hotfix|task)\/.+|(master)|(main)|(HEAD)|(PR-.+)
14
error: "Branches must begin with these types: bugfix/ feature/ release/ hotfix/ task/"
15
suggest: git checkout -b type/branch_name
0 commit comments