Repository navigation
feat(pr-merge): grant merge-pr's lane token actions read - #9410
Conversation
…ivity
Owner decision Q8: the lanes App token may carry actions read for
pr-merge's reads only. A lane-rules.json row may now name leaves of its
lane under activity-grants, each mapped to exactly {"actions": "read"};
resolve and resolveGrant add it to the effect row, and anything else is
rejected as lane-grant. resolve-config outputs actions, request-lane-token
compares it when set, and pr-merge.yml passes it. No row sets it yet, so
every grant stays as it was.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ane lacks
lane-rules.json serves every config that runs a lane, and the README
example's pr-merge lane holds `merge`, not `merge-pr`. A name the lane
does not hold now adds nothing instead of rejecting the config; the
value must still be exactly {"actions": "read"}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner decision Q8: the lanes App token may carry actions read for pr-merge's reads only (verdict artifacts, run listings, run records), so those reads can fall back off GITHUB_TOKEN when it is exhausted. The pr-merge row of lane-rules.json now lists merge-pr under activity-grants, and the comments that said the lane token holds no Actions permission now say what it holds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rant 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 findings. I read
|
|
claude-security-review reviewed Security review of PR #9410: no security findings. I read all 5 files in the diff and the PR context. The change adds
critical-findings: 0 |
No related issue: owner decision Q8 (owner, 2026-10-23): the lanes App token may carry
actions: readfor pr-merge's reads only.Summary
This grants pr-merge's
merge-prlane tokenactions: read. The peer session poteto builds pr-merge's read fallback offGITHUB_TOKENon top of it. The token stays read-only for Actions, and no other lane or activity gets it.Fix
lane-rules.json: thepr-mergerow sets"activity-grants": { "merge-pr": { "actions": "read" } }.live-config.test.mjs: pins thatmerge-prresolvesactions: readand that every other live slot resolves none.pr-merge.ymlcomments anddocs/conventions/pr-pipeline/README.mdno longer say the lane token holds no Actions permission.Stacked on #9409 (merged) and azure-iac#83 (merged and deployed, run 39968516268).
Verification
npm testin.github/actions/resolve-config: 662 pass, 0 fail. The pr-merge script tests and request-lane-token tests pass.actionlintis clean.Related
activity-grantsmechanism, the base of this PR.🤖 Generated with Claude Code