已关闭
[Requirement|需求建议]: 利用git hooks功能新增代码的静态检查,降低线上CI的SC耗时 #387
maohp_hw创建于 4月2日关闭于 4月8日
4月2日 添加了label:requirement
4月2日 修改了issue 的描述
4月2日 关联了pull request:update: code style
4月2日 将 haipingmao 设为负责人
4月8日 issue状态由 待办的 改变为 已完成
4月8日 关闭了 issue
4月8日 添加了label:Accepted
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
当前代码仓SC耗时较多,期望将部分静态检查的功能前置,在做git commit时就完成部分检查动作,以减少线上CI的SC耗时。
Origin(信息来源)
ASCNEDC
Benefit / Necessity (价值/作用)
通过git hooks功能,用户将在执行git commit时完成合规性检查,以减少CI耗时。
Design(设计方案)
利用git hooks功能,在本地执行git commit时完成部分检查,不满足合规性的commit将被禁止提交。