Skip to content

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

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
Collaborator

AI assistance

Qoder agent (Claude) performed the migration and the checks below.

What changed

Replace the inline gate with the organization's shared QuantStrategyLab/.github/pr-governance action pinned to 873eb5afc59a56a394dabe8261e0e2ab5b8f769f (tag v2):

  • .github/workflows/risk-gate.yml is now the rendered shared template.

  • .github/governance/policy.json holds the repo policy (r0_paths, r2_paths, reviewer identity).

  • .github/workflows/pr-review-signal.yml relays fork review events to the trusted run.

  • .github/dot-review/ treats the gate's relayed workflow_run runs like sweeps, so the
    reviewer is not started without a single linked pull request.

Required status contexts are unchanged: risk-gate, ai-review, pr-template, clearing-label.

How verified

  • The rendered gate differs from the shared template only by the repo name and the pinned SHA.

  • actionlint passes on both workflows.

  • Classification stays at least as strict: every .github/** path, manifests, and credential/runtime/strategy paths are R2; prose in docs/ and README is R0; the Codex receipt and clearing-label binding are unchanged.

  • node .github/dot-review/test-review.cjs passes (11 tests) with the relayed-run guard.

Replace the inline gate with the pinned v2 composite action, move the
repo policy into .github/governance/policy.json, and relay fork review
events through the permissionless signal workflow. Status check
contexts are unchanged: risk-gate, ai-review, pr-template, clearing-label.
@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-07T14:16:13.823143Z bd6f0e8 PR opened
🔒 Security Review ✅ Completed 2026-11-07T14:19:00.751504Z bd6f0e8 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 merged commit d121e6d into main Nov 7, 2026
13 of 14 checks passed
@Pigbibi
Pigbibi deleted the chore/governance-action-v2 branch November 7, 2026 14:32
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