知识卡片
限定专家审批范围
CODEOWNERS 把路径与审批人关联,通过仓库合并规则要求审批。外部契约可由治理专家在合并前审查,团队内变更可由本团队承担。为具体路径配置必需的少数专家,避免普通变更因路由到无关审查人而等待。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- API 制品的源代码阶段治理 8.9 Code owners · 查看原书依据
CODEOWNERS is a useful way to involve the API governance team in the review, but do take care with how you implement it. Requiring too many code owner approvals outside the core team making the update to the source repository can introduce delays in PR approvals that slow down the pace of development.
参考来源
- 位置:《Automating API Delivery APIOps with OpenAPI》《第 08 章 API 制品的源代码阶段治理》(8.9 Code owners;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-8.xhtml#p175)
- 结论依据:原文指出外部负责人数量与审批时间的关系,建议最小化需外部治理的审批范围。
- 原始内容:CODEOWNERS is a useful way to involve the API governance team in the review, but do take care with how you implement it. Requiring too many code owner approvals outside the core team making the update to the source repository can introduce delays in PR approvals that slow down the pace of development.