Skip to content

ci: allow reviewed action pins in Codex topics - #81

Merged
ttaylorr-oai merged 1 commit into
metafrom
tb/codex/ci-action-pin-policy
Sep 7, 2026
Merged

ci: allow reviewed action pins in Codex topics#81
ttaylorr-oai merged 1 commit into
metafrom
tb/codex/ci-action-pin-policy

Conversation

@ttaylorr-oai

@ttaylorr-oai ttaylorr-oai commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

The controller rejects the full-SHA action pins in #80, so the topic cannot enter the stable plan even though the repository's Actions policy requires those pins.

Allow the three exact before/after workflow blobs from that patch through the source-range and generated-tree checks. File modes must match too. Other workflow edits remain subject to controller review, and the existing topic approval and plan checks still apply.

Once the topic is admitted to codex, codex-unstable inherits the pinned workflows from its stable base. The release workflow's six action pins already fit the existing release-workflow policy.

Validation: syntax and whitespace checks pass. Checks against the real pinning patch accept the replacements and reject unpinning, extra edits, deletion, executable or symlink modes, and added workflows. All 136 tests in the existing controller regression suite pass.

The repository's Actions policy requires full commit IDs, but the
controller rejects changes to the inherited CI workflows. The pinning
topic therefore cannot enter the stable plan, leaving both lanes with
action references that fail during job setup.

Allow the reviewed before/after blobs for the CI, style, and whitespace
workflows. Check their file modes as well as their contents, and apply
the same check to topic source ranges and generated trees. Other
workflow changes still require a controller review.

Once admitted to the stable plan, the pinning topic also supplies the
workflow replacements to codex-unstable through its codex base.

Signed-off-by: Taylor Blau <ttaylorr@openai.com>
@ttaylorr-oai ttaylorr-oai added kind:controller Codex release controller change build:codex-controller Codex release controller labels Sep 4, 2026
@ttaylorr-oai
ttaylorr-oai merged commit cfd2b7c into meta Sep 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:codex-controller Codex release controller kind:controller Codex release controller change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants