Skip to content

docs: research how the app should hand out tokens across orgs - #42

Merged
unional merged 1 commit into
masterfrom
docs/app-token-distribution-research
Nov 15, 2026
Merged

unional merged 1 commit into
masterfrom
docs/app-token-distribution-research

Conversation

@unional

@unional unional commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Adds docs/research/app-token-distribution.md for #40 and repobuddy/.github#79. It asks how one GitHub App can serve the owner's CI jobs (J1–J3) across 36 orgs and also serve outside installers, without copying its private key into every org. It compares:

Each option is weighed for blast radius, operational cost, fit with Renovate and Dependabot PRs, maturity, and lock-in. Claims are dated and sourced, and sources older than 12 months are flagged.

Recommendation:

  • Don't copy the public repobuddy key into org secrets. Give J1–J3 a separate CI app now (C), and harden its secrets.
  • Move the CI jobs to GitHub's keyless app tokens (D) when they ship. Build an exchange service (B) only if D is not ready before outside users are invited.
  • Test whether Dependabot-triggered runs can get an OIDC token before J3 depends on B or D.

This conflicts with the current plan in repobuddy/.github#79 (#85, #86, #88), which stores the repobuddy key in every org. Whether to change that plan is the owner's decision.

Also adds a link to the new page from probot-and-alternatives.md.

Documentation only. No change to app code, settings, keys, or workflows.

🤖 Generated with Claude Code

Compares copying the key into orgs, an OIDC token-exchange service
(octo-sts and alternatives), a separate CI app, and GitHub's roadmapped
keyless app tokens for Actions, with a migration path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: unional <[email protected]>
@changeset-bot

changeset-bot Bot commented Nov 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9520d05

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@unional
unional merged commit 3e6e1c8 into master Nov 15, 2026
2 checks passed
@unional
unional deleted the docs/app-token-distribution-research branch November 15, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant