Skip to content

GitHub App Setup

The GitHub App is the maintainer/install surface. GitHub OAuth is the MCP user-auth surface.

Basic Fields

Use these values for private beta:

FieldValue
Homepage URLhttps://gittensory-api.zeronode.workers.dev
Webhook URLhttps://gittensory-api.zeronode.workers.dev/v1/github/webhook
Webhook activeenabled
SSL verificationenabled
Device Flowenabled

Use a generated webhook secret and set the same value in Cloudflare as GITHUB_WEBHOOK_SECRET.

Required Repository Permissions

PermissionAccessWhy
MetadataReadRequired for repository identity and repository events.
ChecksWriteRequired to create and update the Gittensory check run.
Pull requestsReadRequired for PR metadata, reviewability, and webhook events.
IssuesReadRequired for issue linkage, issue-discovery context, and duplicate signals.

Optional:

PermissionAccessWhy
IssuesWriteOnly needed if public-safe sticky PR comments are enabled.
ContentsReadOnly needed if a future feature reads repository files directly through the App.

Required Events

Subscribe to:

  • Pull request
  • Issues
  • Repository

If GitHub shows Installation target, select it. Some installation-related events are not always shown as normal selectable event rows; Gittensory should not block health on event names that are hidden in the app UI.

Install Or Repair

  1. Update the GitHub App permissions and events.
  2. Reinstall the app or approve the changed permissions.
  3. Select the repos Gittensory should inspect.
  4. Trigger installation-health refresh:
sh
curl -X POST "$GITTENSORY_API_URL/v1/internal/jobs/refresh-installation-health/run" \
  -H "Authorization: Bearer $INTERNAL_JOB_TOKEN"
  1. Check health:
sh
curl "$GITTENSORY_API_URL/v1/readiness" \
  -H "Authorization: Bearer $GITTENSORY_API_TOKEN"

Healthy app installation state should remove the readiness warning about GitHub App installations needing attention.

Marketplace Readiness

Before Marketplace submission, add:

  • public docs URL
  • support contact
  • privacy policy
  • terms page if needed
  • clear setup flow
  • valid webhook and install diagnostics

Do not submit while Gittensory is private beta or invite-only.