Skip to content

GitHub Plugin

The GitHub plugin uses GitHub App credentials so Junior can run repository workflows with explicit capability scoping.

  • GITHUB_APP_ID
  • GITHUB_APP_PRIVATE_KEY
  • GITHUB_INSTALLATION_ID

Vercel example:

Terminal window
vercel env add GITHUB_APP_ID production
vercel env add GITHUB_INSTALLATION_ID production
vercel env add GITHUB_APP_PRIVATE_KEY production --sensitive < ./github-app-private-key.pem

Issue capability-scoped credentials at runtime

Section titled “Issue capability-scoped credentials at runtime”
Terminal window
jr-rpc issue-credential github.issues.write
gh issue create --repo owner/repo --title "Example issue" --body "Created from Junior"

Optional default repo:

Terminal window
jr-rpc config set github.repo getsentry/junior
  • Create/update/comment/label operations succeed in a test repo.
  • Actions are attributed to the GitHub App identity.
  • Access denied: app not installed on target repo/org.
  • Missing capability: wrong credential scope for operation.

Read Runtime Commands for credential/config command behavior.