Repository navigation
feat(runner-policy): allow pr-review-cli's workflow_run inputs - #953
Conversation
List pr-number, head-sha, base-sha and event-action in the pr-review-cli.yml contract's allowedInputs, so a workflow_run caller can pass them (melodic-software/ci-workflows#999). A caller that omits them is unchanged. Refs: melodic-software/claude-code-plugins#13717 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-review reviewed No findings. The PR appends I did not run the tests or the policy script. The PR body's results (232 of 232 tests pass, "Runner policy passed.") are the author's claims and I did not check them. The PR body follows the contract: |
|
claude-security-review reviewed No security findings. Scope: the one-file change in What I checked:
Note for follow-up, not a finding: the new inputs let a caller such as a Skipped: |
…#954) <!-- session: lane-3 --> Refs: melodic-software/claude-code-plugins#13717 ## Summary This lets callers of the ci-workflows reusable `pr-review-cli.yml` pass the new optional input `dispatcher-actor-ids` that melodic-software/ci-workflows#1001 adds. The input lets the actor of a `workflow_dispatch` caller start the review model jobs, and grants nothing else. Under the README's "Contract revision lockstep" rule 1, the input enters the contract and the sync before any caller passes it. ## Fix `components/runner-policy/policy.json`: `dispatcher-actor-ids` is appended to the `pr-review-cli.yml` entry's `allowedInputs`, after the four inputs that #953 added. ## Verification - `node --test components/runner-policy/runner-policy.test.mjs`: 232 of 232 pass. - `node components/runner-policy/runner-policy.mjs --root <worktree>`: "Runner policy passed." - The commit is signed, and gitleaks found no leaks. ## Related - melodic-software/ci-workflows#1001 (adds the input) - #953 (the four `workflow_run` inputs) - melodic-software/claude-code-plugins#13717 (Refine before review) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: melodic-software/claude-code-plugins#13717
Summary
This lets callers of the ci-workflows reusable
pr-review-cli.ymlpass its four new inputs:pr-number,head-sha,base-shaandevent-action. The inputs come from melodic-software/ci-workflows#999. They let aworkflow_runcaller start the review once a Refine stage finishes (the owner's decision on claude-code-plugins #13717). The README's "Contract revision lockstep" rule 1 requires a new input to be in the contract, and synced, before any caller passes it.Fix
components/runner-policy/policy.json: the four names are added to thepr-review-cli.ymlentry'sallowedInputs, in the list's append order. The schema documents no individual inputs, so no descriptions were added.distribution/sync-manifest.yml:382delivers the file byte-for-byte to consumers'.github/standards/runner-policy/policy.json.Verification
node --test components/runner-policy/runner-policy.test.mjs: 232 of 232 pass.node components/runner-policy/runner-policy.mjs --root <worktree>: "Runner policy passed."Related
🤖 Generated with Claude Code