Repository navigation
ci: restrict manual PR controls to the default branch - #5341
Merged
Merged
Conversation
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.
手动 PR workflow 在 GitHub 页面选择非默认分支时可能运行该分支的控制脚本。为 prepare、submit 补充默认分支限制;PR 源码改为只在容器内部拉取,runner 工作区仅接收已验证的 index.js,构建 job 不申请 GITHUB_TOKEN 权限,也不向容器传递 runner/cache token 或 Docker socket。
保留冻结 SHA、严格文件校验、已有 CN / BOE / PPE 回报、SCM 与截图链路及独立 reporter。通知人员由 BugServer 创建任务时固定,无需改变仓库的控制脚本。
验证:Node.js 22 下控制脚本 6 项、Python 提取器 6 项测试通过,workflow YAML / shell 语法与控制分支断言通过。按 AGENTS.md 尝试全量视觉测试,临时 checkout 缺少 Rush 依赖(typescript),204 项均未执行;未宣称视觉通过。