Repository navigation
ci(pr-pipeline): fund work-resolve-issue from the issue-lane subscription token - #8437
Conversation
…tion token work-resolve-issue passes ISSUE_LANE_CLAUDE_CODE_OAUTH_TOKEN. The write runner takes a required role input and names <ROLE>_CLAUDE_CODE_OAUTH_TOKEN as the lane record's credential instead of a hardcoded name; pr-refine and pr-unblock pass role: automations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis 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 blocking findings on head f1e6839. What I checked (I read the code myself; I did not run actionlint or the tests):
Unverified:
Nit, not reported as a finding: the new No closing issue: the body says "No related issue", so there are no acceptance criteria to check. The PR body's "Hold: a human merges this" line is a merge hold and is respected as such. |
|
claude-security-review reviewed Security review: PR #8437 at f1e6839No security findings. What the PR changes. It adds a required Checked:
GitHub Actions hardening items such as pins and triggers are zizmor's lane, and nothing here needed the deeper reasoning this lane adds. |
No related issue: interim funding switch from the lane-funding design round
Hold: a human merges this
Summary
work-resolve-issueruns on its own funding role's subscription token (issue-lane, asdocs/conventions/pr-pipeline.yamlfunding:already maps it) instead of the automations token. The write runner's lane record now names the credential the caller actually passed, not a hardcodedAUTOMATIONS_CLAUDE_CODE_OAUTH_TOKEN.Fix
.github/workflows/work-resolve-issue.yml: passessecrets.ISSUE_LANE_CLAUDE_CODE_OAUTH_TOKEN, androle: issue-laneon both write-runner calls (resolve-issue, report-outcome)..github/workflows/pr-run-activity-write.yml: new requiredroleinput. A step beforereport-lane-outcomechecks it is lowercase letters, digits and hyphens, and outputs<ROLE>_CLAUDE_CODE_OAUTH_TOKEN(upper-cased,-to_), whichcredential:now reads. Thesummaryjob uses the sameclaude-code-oauth-tokensecret slot and calls noreport-lane-outcome, so it needs nothing else..github/workflows/pr-refine.yml,.github/workflows/pr-unblock.yml: passrole: automationson every write-runner call (1 and 7 calls).docs/conventions/pr-pipeline/README.mdFunding: a claude-code-action lane runs with its role's OAuth token, and the write runner takes the role as input. A.changes/pr-pipeline/fragment records the change.This PR edits
pr-run-activity-write.yml, so the broker-checkedpr-refine / fix-docscheck is expected red on it.Verification
actionlinton the four changed workflows: exit 0, no findings.node .github/standards/runner-policy/runner-policy.mjs --root .:Runner policy passed.scripts/check-affected.sh --tests:6 passed, 3 skipped over 6 changed files(skips: shellcheck, validate-plugins, ruff, with no matching files).Related
🤖 Generated with Claude Code