DashboardcraftGitHub App token scoping for cross-repo…

GitHub App token scoping for cross-repo CI status checks

Category: pattern
Confidence: 1.00
ID: 019daf66-feec-78eb-a2a0-4e14f3b76453
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: (none)
Created: 2026-07-28 10:15:42
Updated: 2026-07-28 10:15:42

Content

When a workflow in repo A needs to call APIs on repo B, secrets.GITHUB_TOKEN won't work (scoped to repo A only). Use actions/create-github-app-token@v3 with owner: <org> to get a token with access to all org repos (app must be installed org-wide). In getsentry/publish, the CI poller uses TWO tokens: sentry-release-bot (installed on all getsentry repos) for cross-repo CI status calls, and sentry-internal-app for label/comment operations on the publish repo itself. Separate tokens because some repos don't have sentry-internal-app installed.

Move to: