GitHub App Setup
Kuayle uses a GitHub App for repository access and webhook delivery. Public instances can use the generated webhook URL; private instances need a relay or tunnel.
Publicly reachable instance
Settings → GitHub starts GitHub’s App Manifest flow with callback, permission and webhook values generated from your instance URL. After GitHub returns the manifest code, Kuayle stores the App credentials encrypted.
- Go to Settings → GitHub in your workspace
- Click "Set up GitHub App"
- Authorize on GitHub — pre-filled manifest
- Webhook URL generated from the configured instance URL
- Click "Install on GitHub" to grant repo access
Private network support
GitHub must reach `/api/github/webhook` to deliver branch, push and pull-request events. For private instances, run a smee.io relay or expose the webhook endpoint through a controlled tunnel such as cloudflared or ngrok.
- smee.io — third-party webhook relay
- cloudflared or ngrok — public tunnel to the webhook endpoint
- Without webhook delivery, GitHub events and status transitions are not processed
What the integration does
Kuayle scans branch names, pull-request titles and bodies, and commit messages for issue identifiers. Supported webhook events can record activity and move matched issues according to enabled automation rules.
- Auto-links PRs, branches, and commits via issue key matching
- Configurable auto-transitions based on GitHub events
- Webhook signature verification before processing
- Linked activity displayed in the issue detail view
Pull-request bot comments
On pull_request.opened, the App comments with a link to the matching public-team issue. The App needs Pull requests: Read and write and the Pull request webhook subscription, and the repository must be linked and active. Set FRONTEND_URL to the externally reachable Kuayle URL so links resolve. GitHub does not redeliver failed webhooks automatically: after fixing a permission or API failure, redeliver the failed opened event from the App’s webhook delivery page.
- Permissions: Pull requests read/write, Contents read/write, Metadata read, Issues read
- Events: Pull request, Push, Create
- No historical backfill; edits and reopens do not add comments
- Private-team issues are never linked