Skip to content

ci: restrict manual PR controls to the default branch - #5341

Merged
Rui-Sun merged 1 commit into
developfrom
codex/manual-pr-photo-control
Oct 10, 2026
Merged

Rui-Sun merged 1 commit into
developfrom
codex/manual-pr-photo-control

Conversation

@Rui-Sun

@Rui-Sun Rui-Sun commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

手动 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 项均未执行;未宣称视觉通过。

@github-actions github-actions Bot added the chore label Oct 10, 2026

@visactor-review-bot visactor-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

未发现可确认的新问题。

@Rui-Sun
Rui-Sun merged commit 5c9451a into develop Oct 10, 2026
7 of 8 checks passed
@Rui-Sun
Rui-Sun deleted the codex/manual-pr-photo-control branch October 10, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant