operator-framework / operator-framework/java-operator-sdk
Main (and v1) Branch Protection Rules and PR enforcement
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 944
- 派生
- 242
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 43
描述
Currently the main branch is not protected, so users with write access can directly push to main and v1. We could enforce to have PRs always (what we anyway do now), but the release action would not be able to do pom.xml version updates directly neither. This is one issue to solve / discuss.
The other part to discuss below this issue is it would be an idea to force approvals from code owners, since this is relatively small team it would not be convenient (think holidays), but with 1 required code owner approval for all PRs could work.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查 main 和 v1 的分支保护设置,然后检查 release action 及其 pom.xml 版本更新。首先明确是否必须继续允许直接进行 release 更新,以及是否需要 code-owner 批准;当达成一项仍能让 release 正常工作的保护策略时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, github-actions, java
- 领域
- ci-cd, devops, release
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100