Code review (Preview): "Add a repository" shows no results for private GitHub org repos

Status Fixed / completed
Maintainer reply None cached
Activity 2 comments · opened May 28, 2026 · closed Jun 2, 2026

Org settings: Claude Code org settings → Code review (Preview) → Configure → "Add a repository" dialog

Problem: Searching for repos in the "Add a repository" dialog returns "No repositories found" for all private repos in a GitHub organization.

Setup that is confirmed correct:

  • Claude GitHub App installed on org with "All repositories" + full PR permissions (repository_selection: all, pull_requests: write confirmed via API)
  • GitHub org checked under "GitHub organizations" in Claude Code org settings
  • GitHub OAuth app authorized by org admin
  • User is org admin and member of the GitHub org

Root cause suspected: The OAuth app only requests identity scopes (verify identity, know resources, act on behalf) — no repo or read:org scope. The repo listing cannot see private org repos without these scopes.

Expected: Private org repos should be listable when the Claude GitHub App is installed on the org and the user is an org admin.

Workaround: None without purchasing a separate Anthropic API key for the GitHub Actions approach, which is an extra cost on top of the Claude Code subscription.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗