Skip to content

ci: Add exact-head acceptance publisher - #2

Merged
JustinJLeopard merged 1 commit into
mainfrom
justinjleopard/ci/exact-head-acceptance
Oct 5, 2026
Merged

JustinJLeopard merged 1 commit into
mainfrom
justinjleopard/ci/exact-head-acceptance

Conversation

@JustinJLeopard

Copy link
Copy Markdown
Owner

Add a manually dispatched publisher for the Exact-head acceptance check, bound to the live PR head. This ports the trusted publisher from justin-bin main at a11fb9c7e98be788d152567b70815b6c4cc3f2ce without changing its behavior, and documents independent review before dispatch.

The workflow rejects stale heads, draft/closed/fork PRs, non-main dispatches and untrusted dispatch/rerun actors. It does not execute PR code. Repository rules must only require this check after this PR is merged and live negative/positive/new-head proof succeeds. A GitHub Actions app binding does not alone distinguish this workflow from other workflows that can write checks.

Validation: YAML parsed; extracted Bash passed bash -n; 12 cases executed against the actual Bash with only GitHub transport mocked, covering success, invalid input/state/identity and malformed API response. Runtime publication and repository enforcement are not claimed by this PR.

Publish an independently reviewed PR head through a trusted manual dispatch.
Keep ruleset activation separate until the publisher is merged and proven.

Co-Authored-By: Codex <noreply@openai.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 03:09
@JustinJLeopard

Copy link
Copy Markdown
Owner Author

@codex review

Ready for Cowork independent review at 05b8b448ddcb88e3927719f86f90df014dd69c9e. Scope is the publisher and its operating instructions. YAML/Bash validation and 12 actual-shell mocked-transport cases passed. No ruleset activation has occurred. Please review this exact head before source integration; publication of an acceptance check is a later attestation of that review, not an automatic review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T03:10:39.733121Z 05b8b44 Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 05b8b448dd

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI 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.

Copilot review overview

🔵 Needs a closer look

The security-sensitive merge-gate workflow warrants independent human review and the documented live validation before repository enforcement.

Review effort: Balanced
Findings: None

What changed in this PR

Adds a trusted manual workflow that publishes an acceptance check for a validated PR head.

Changes:

  • Validates PR state, target, provenance, SHA, and trusted actors.
  • Publishes and verifies an exact-SHA check run.
  • Documents dispatch and activation safeguards.
File Description
.github/​workflows/​exact-head-acceptance.yml Implements the acceptance publisher.
docs/​exact-head-acceptance.md Documents secure operation and rollout.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@JustinJLeopard

Copy link
Copy Markdown
Owner Author

Cowork acceptance at exact head 05b8b448ddcb88e3927719f86f90df014dd69c9e. The workflow is byte-identical to justin-bin's proven exact-head-acceptance.yml (same SHA-256 across all six publisher PRs), and the guide is accurate and identical across them. Codex's review of this exact head found no issues. Every hosted check on this head passed. No open threads. Squash-merging pinned to this SHA. The ruleset activation and proof stay with Codex.

@JustinJLeopard
JustinJLeopard merged commit 5be3c42 into main Oct 5, 2026
12 checks passed
@JustinJLeopard
JustinJLeopard deleted the justinjleopard/ci/exact-head-acceptance branch October 5, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants