feat(flywheel): 阶段三执行质量预测层(trailer 死链修复 + 风险画像) #2
@ -13,10 +13,4 @@ pre-commit:
|
||||
commit-msg:
|
||||
commands:
|
||||
conventional:
|
||||
run: |
|
||||
head -1 "{1}" | grep -qE '^(feat|fix|docs|chore|refactor|ci|perf|style|test|build|revert)(\(.+\))?!?: .+' || {
|
||||
echo "✗ commit message 必须符合 Conventional Commits:<type>(<scope>): <描述>"
|
||||
echo " type: feat|fix|docs|chore|refactor|ci|perf|style|test|build|revert"
|
||||
echo " 例:feat(auth/login): 新增手机号登录"
|
||||
exit 1
|
||||
}
|
||||
run: "head -1 \"{1}\" | grep -qE '^(feat|fix|docs|chore|refactor|ci|perf|style|test|build|revert)(\\(.+\\))?!?: .+' || exit 1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user