Repository navigation
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
@codex review |
|
@codex security review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The release job checked out the commit input before validating it, and the only validation ran in the tag step, which dry runs skip. A dry run could therefore build and run an arbitrary ref with the release signing secrets, OIDC identities and the release App token. Check out the dispatched commit first, then require the commit input to be a full SHA on the dispatched branch before switching to it, for dry runs and real releases alike. Dry runs create no release, so they no longer mint the release App token. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015koAoN7npVzwZjdWhi3V5o
39e8ebf to
dc0575a
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
The
releasejob inrelease.yamlchecked out thecommitworkflow_dispatch input before validating it. The only check (full SHA, ancestor of the dispatched branch head) ran in theCreate release tagstep, which is skipped whendry_runis true. A dry run could therefore check out any ref the repository resolves, such as an unprotected branch, a pull-request head or an unmerged commit, and run its scripts and the localbuild-coderaction in thereleaseenvironment with the signing secrets, the OIDC signing identities and the release App token.Changes:
github.sha) first. A new step, run from the workflow file and not from the tree being checked, requirescommitto be a full 40-character SHA that is an ancestor ofGITHUB_SHA, then switches to it withgit checkout --detach. This runs for dry runs and real releases before any repository script, local action or credential. Without acommitinput nothing changes.Generate release App tokenon dry runs. A dry run creates no release, andscripts/release/publish.sh --dry-runnever callsgh, so it needs no token.The existing check in
Create release tagstays as a second line of defence.Verification: ran the new step's script against a scratch repository. It accepted an ancestor SHA and the branch head. It refused an unmerged branch SHA, a branch name,
refs/pull/1/head, an uppercase SHA and a missing SHA, leaving HEAD unchanged. actionlint passes.Generated by Claude Code