Skip to content

ci(governance): adopt the shared PR governance action - #1085

Merged
Pigbibi merged 1 commit into
mainfrom
chore/governance-action-v2
Nov 7, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
chore/governance-action-v2

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

AI 参与

Codex 复审;本仓迁移只新增受信任策略与两个工作流,不改业务代码。

改动内容

  • 新增 .github/governance/policy.json(pr-governance/v3,Codex 为审查者,所有者从组织变量读取)。
  • risk-gate.yml 改为调用 QuantStrategyLab/.github/pr-governance@873eb5afc59a56a394dabe8261e0e2ab5b8f769f,保留 pr-template、ai-review、risk-gate 三个上下文名与记录/评估两个 job。
  • 新增 pr-review-signal.yml 中继,让 fork 与 Dependabot(只读 token)的审查事件也能被可信运行评估。

怎么验证的

  • actionlint 通过;工作流只读取元数据,不 checkout、不执行 PR 代码。
  • 三个必需上下文名不变;分支保护仍是合并约束。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T13:46:47.895282Z 9e5331c PR opened
🔒 Security Review ✅ Completed 2026-11-07T13:50:21.235045Z 9e5331c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Pigbibi Pigbibi added the agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation label Nov 7, 2026
@Pigbibi

Pigbibi commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

codex-review: 重新评估当前 head(agent-approved 已绑定)

@Pigbibi
Pigbibi merged commit 884b780 into main Nov 7, 2026
19 of 20 checks passed
@Pigbibi
Pigbibi deleted the chore/governance-action-v2 branch November 7, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant