GitHub Plugin
The GitHub plugin uses GitHub App credentials so Junior can run repository workflows with explicit capability scoping.
Configure host env vars
Section titled “Configure host env vars”GITHUB_APP_IDGITHUB_APP_PRIVATE_KEYGITHUB_INSTALLATION_ID
Vercel example:
vercel env add GITHUB_APP_ID productionvercel env add GITHUB_INSTALLATION_ID productionvercel env add GITHUB_APP_PRIVATE_KEY production --sensitive < ./github-app-private-key.pemIssue capability-scoped credentials at runtime
Section titled “Issue capability-scoped credentials at runtime”jr-rpc issue-credential github.issues.writegh issue create --repo owner/repo --title "Example issue" --body "Created from Junior"Optional default repo:
jr-rpc config set github.repo getsentry/juniorVerify
Section titled “Verify”- Create/update/comment/label operations succeed in a test repo.
- Actions are attributed to the GitHub App identity.
Failure modes
Section titled “Failure modes”- Access denied: app not installed on target repo/org.
- Missing capability: wrong credential scope for operation.
Next step
Section titled “Next step”Read Runtime Commands for credential/config command behavior.