File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ checks:
77 [optional body]\n
88 [optional footer(s)]\n\n
99 More details please refer to https://www.conventionalcommits.org"
10- suggest : git commit --amend --no-verify
10+ suggest : please check your commit message whether matches above regex
1111
1212 - check : branch
13- regex : ^(bugfix|feature|release|hotfix|task|dependabot )\/.+|(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
13+ regex : ^(bugfix|feature|release|hotfix|task|chore )\/.+|(master)|(main)|(HEAD)|(PR-.+)
14+ error : " Branches must begin with these types: bugfix/ feature/ release/ hotfix/ task/ chore/ "
15+ suggest : run command ` git checkout -b type/branch_name`
1616
1717 - check : author_name
1818 regex : ^[A-Za-z ,.\'-]+$|.*(\[bot])
1919 error : The committer name seems invalid
20- suggest : git config user.name "Peter Shen"
20+ suggest : run command ` git config user.name "Your Name"`
2121
2222 - check : author_email
2323 regex : ^\S+@\S+\.\S+$
2424 error : The committer email seems invalid
25- suggest : git config user.email petershen @example.com
25+ suggest : run command ` git config user.email yourname @example.com`
You can’t perform that action at this time.
0 commit comments