Repository navigation
Conversation
main 现在只能由 dev 合入;如果 dev 落后于 main(同步工作流失败、或有人绕过流程动过 main), 把 dev 合回 main 时会把 main 上的改动悄悄回退掉。这条检查在 PR 阶段拦下来。 判定:最新 main 是当前分支的祖先,或当前分支历史里存在与最新 main 完全一致的文件树 (兼容 Squash Merge 重新生成 SHA)。写法与 PacPilot 的 main-inclusion.yml 一致。 规则集里设成必需检查时选 gate 的名字:主分支包含性检查。
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.
main 现在只能由 dev 合入;如果 dev 落后于 main(同步工作流失败、或有人绕过流程动过 main), 把 dev 合回 main 时会把 main 上的改动悄悄回退掉。这条检查在 PR 阶段拦下来。
判定:最新 main 是当前分支的祖先,或当前分支历史里存在与最新 main 完全一致的文件树
(兼容 Squash Merge 重新生成 SHA)。写法与 PacPilot 的 main-inclusion.yml 一致。 规则集里设成必需检查时选 gate 的名字:主分支包含性检查。