GitHub Connection
Connect to GitHub using a Personal Access Token. This allows your workflows to interact with repositories, issues, pull requests, commits, and releases via the GitHub REST API.
Each connection targets one repository. To work with multiple repositories, create one GitHub connection per repo.
Configuration
| Field | Description | Required |
|---|---|---|
| Personal Access Token | A GitHub PAT (classic or fine-grained) | Yes |
| Repository Owner | GitHub username or organization (e.g. octocat) | Yes |
| Repository | Repository name (e.g. hello-world) | Yes |
| Base URL | API base URL (default: https://api.github.com) | No |
The owner and repository are stored on the connection so the GitHub Trigger can auto-register a webhook on the repo when the connection is created, and so every GitHub API node sharing this connection operates on the same repository.
GitHub Enterprise
If you use GitHub Enterprise Server, set the Base URL to your instance's API endpoint, e.g. https://github.yourcompany.com/api/v3.
Creating a Personal Access Token
Classic Token
- Go to Settings > Developer settings > Personal access tokens > Tokens (classic)
- Click Generate new token (classic)
- Select the scopes your workflows need:
repofor private repository accesspublic_repofor public repository access onlyadmin:repo_hookif you'll use the GitHub Trigger (needed to register webhooks)
- Copy the generated token (starts with
ghp_)
Fine-Grained Token
- Go to Settings > Developer settings > Personal access tokens > Fine-grained tokens
- Click Generate new token
- Select the repository access and permissions your workflows need
- Copy the generated token (starts with
github_pat_)
Usage
Once created, this connection becomes available in:
- GitHub API — list, get, create, update, and comment on issues, pull requests, commits, and releases
Rate Limits
Authenticated requests allow up to 5,000 requests per hour. The GitHub API node automatically retries when rate-limited (HTTP 429 or 403 with exhausted limits) with exponential backoff.