docs: 明确分支与 PR 纪律,禁止直接 push main - #375
Open
frankiehot-tech wants to merge 1 commit into
Open
Conversation
- AGENTS.md Boundaries 增禁止项:直接 push main(含 bypass 分支保护) - AGENTS.md Handoff Discipline 增"分支与 PR 纪律"小节:分支命名/PR 流程/门禁/squash/排除无关改动 - CONTRIBUTING.md 分支命名由过时的 feature/ 统一为仓库实际惯例 <type>/<slug>
|
Athena seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
1 similar comment
|
Athena seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
上一次改动(
51d88f7a污染清理 +a29842aeVortex369 TLA+)直接 push 到 main,触发远端Bypassed rule violations: Changes must be made through a pull request。本 PR 把 PR 流程写成成文约定,避免复发。改动
main(含 bypass 分支保护)」<type>/<slug>、gh pr create --fill、等 CI + 治理门禁(G1-G4 + oss-check)全绿再合并、优先 squash、禁止混入无关工作区改动feature/统一为仓库实际惯例<type>/<slug>(实际分支均为feat/fix/chore/docs/)依据
CONTRIBUTING.md:3-4— MAREF 采用 Pull Request 模式docs/oss-execution-norm-v1.0.md:44— Feature Development 出口条件为 Code Review 通过 + 门禁验证