Repository navigation
feat(runner-policy): allow environment input on intake-triage and pr-review-cli - #1082
Conversation
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. |
|
claude-review reviewed No findings. Change: appends Closing issue #1076: its only requirement is to add Loosened checks: the new entries widen what the Security scope: whether callers may pass arbitrary environment names is a trust-boundary question. I left it to the security lane. Other: no path-scoped rule matches the changed file, and the PR body follows the contract rule. No settled-threads, prior-findings or Loosened checks would be marked: fail (defaults, no resolver run); patterns: 0 Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed I found no security issues in this pull request, so I'm reporting 0 findings. What changed. Trust-control check. The change widens which inputs a caller may pass. It doesn't widen who is trusted, any token scope, a kill switch or a merge hold. I checked each of the impacts the severity bar requires:
Limits of this review.
critical-findings: 0 |
Closes #1076
Summary
Lists
environmentinallowedInputsformelodic-software/ci-workflows/.github/workflows/intake-triage.ymlandmelodic-software/ci-workflows/.github/workflows/pr-review-cli.ymlincomponents/runner-policy/policy.json, matching the optional input added by melodic-software/ci-workflows#1154 (owner decision Q8).Fix
components/runner-policy/policy.json: appendsenvironmenttoallowedInputson bothintake-triage.ymlandpr-review-cli.yml. No secrets, caller permissions, runner routing, orapprovedShaschange.environmentas an optional string defaulting to""and applyenvironment: { name: ${{ inputs.environment }}, deployment: false }to their Claude-secret jobs. Callers that omitenvironmentsee no change; callers that pass a branch-protected environment (such asclaude-lanesrestricted tomain) tighten secret scope rather than loosening review.Verification
node --test components/runner-policy/runner-policy.test.mjs: 247/247 pass.node components/runner-policy/runner-policy.mjs --root .: passed.check-jsonschema --schemafile components/runner-policy/policy.schema.json components/runner-policy/policy.json: validation passed.biome check components/runner-policy/policy.json: clean.Related
environmentinput to both reusables.