docs(renovate): the bot token also needs read:organization #23

Merged
Defame1297 merged 1 commits from fix/renovate-token-scope into main 2026-10-26 17:01:56 +00:00
Owner

What

CLAUDE.md lists read:organization among the bot token's scopes and says why.

Why

Dry run 2450 (with the bot token from #22) authenticated and then failed at GET /api/v1/orgs/Mortis with 403: token does not have at least one of required scope(s), required=[read:organization], token scope=write:issue,write:repository,read:user. Renovate reads the owner organisation when it initialises the repository. The scope list in #22 was incomplete.

Verified

The error text above is from the run 2450 log. Docs only; the commit hooks passed.

Not verified

That a token with read:organization gets Renovate through repository init and the clone: a new dry run with the replaced RENOVATE_BOT_TOKEN is needed.

🤖 Generated with Claude Code

## What `CLAUDE.md` lists `read:organization` among the bot token's scopes and says why. ## Why Dry run 2450 (with the bot token from #22) authenticated and then failed at `GET /api/v1/orgs/Mortis` with 403: `token does not have at least one of required scope(s), required=[read:organization], token scope=write:issue,write:repository,read:user`. Renovate reads the owner organisation when it initialises the repository. The scope list in #22 was incomplete. ## Verified The error text above is from the run 2450 log. Docs only; the commit hooks passed. ## Not verified That a token with `read:organization` gets Renovate through repository init and the clone: a new dry run with the replaced `RENOVATE_BOT_TOKEN` is needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-10-26 14:00:23 +00:00
docs(renovate): the bot token also needs read:organization
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 12s
1312ff67f8
Dry run 2450 got past authentication and failed at GET /orgs/Mortis with
403: the token had write:repository, write:issue and read:user only.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 merged commit c8ab80931c into main 2026-10-26 17:01:56 +00:00
Defame1297 deleted branch fix/renovate-token-scope 2026-10-26 17:01:57 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#23