Overview
GitHub is the dominant Git hosting and developer collaboration platform. The Automize GitHub connector covers the operations you actually want in automation: repos, issues, pull requests, Actions workflows, releases, commits, branches, and user lookups.
- Regions: GitHub.com is global. Enterprise Cloud customers use the same API. GitHub Enterprise Server (self-hosted) uses a different base URL – configure it per connection if you're on GHES.
- Plans: Free, Pro, Team, Enterprise – all expose the REST API. Some features (audit log, advanced security) are Enterprise-only.
Setting up the connection
Auth type: Bearer Token.
- For personal automation: GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens.
- Pick the repos this token should access (single repo or all). Add the required permissions: Repository (contents read/write, issues read/write, pull-requests read/write, actions read), and Account (if needed).
- Copy the token (starts with github_pat_...).
- For org-wide automation, install a GitHub App instead and use installation tokens (not covered here – current connector accepts PATs or GitHub App tokens directly).
- In Automize, open Settings → Connectors → GitHub → Add connection. Paste the token.
Find your credentials at https://github.com/settings/tokens.
Rate limits
GitHub enforces 5,000 requests/hour per authenticated user (15,000/hour for Enterprise Cloud orgs). The connector reads X-RateLimit-Remaining headers and pauses when close to the limit. Search endpoints have a tighter limit (30 req/min). Use conditional requests (ETags) for repeated list calls – saves quota.
Data model
Top-level objects:
Organization / User ─┬─ Repositories ─┬─ Issues ── Comments
│ ├─ Pull Requests ── Reviews ── Comments
│ ├─ Branches ── Commits
│ ├─ Workflows (Actions) ── Workflow Runs
│ ├─ Releases ── Assets
│ └─ Webhooks
└─ Members / Teams (org only)
owner/repo is the canonical addressing – e.g. "anthropics/claude-code".Available operations
28 operations available. Click any row to jump to its detail.
| Operation | Category | What it does |
|---|---|---|
| Add Labels | General | Add labels to an issue or PR |
| Create comment | General | Create a comment on a GitHub issue or pull request. |
| Create issue | General | Create a GitHub issue. |
| Create pull request | General | Create a GitHub pull request. |
| Create release | General | Create a release on a GitHub repository. |
| Create Repo | General | Create a new repository |
| Get issue | General | Get a GitHub issue by number. |
| Get pull request | General | Get a GitHub pull request by number. |
| Get repository | General | Get a GitHub repository by owner and name. |
| List workflow runs | General | List GitHub Actions workflow runs. |
| List branches | General | List branches on a GitHub repository. |
| List commits | General | List commits on a GitHub repository. |
| List Issue Comments | General | List comments on an issue |
| List issues | General | List issues on a GitHub repository. |
| List Labels | General | List labels in a repository |
| List Milestones | General | List milestones in a repository |
| List PR reviews | General | List reviews on a GitHub pull request. |
| List pull requests | General | List pull requests on a GitHub repository. |
| List releases | General | List releases on a GitHub repository. |
| List repositories | General | List GitHub repositories. |
| List Workflows | General | List GitHub Actions workflows |
| Merge pull request | General | Merge a GitHub pull request. |
| Request reviewers | General | Request reviewers for a GitHub pull request. |
| Search Issues | General | Search issues and pull requests |
| Search repositories | General | Search GitHub repositories. |
| Trigger workflow | General | Trigger a GitHub Actions workflow dispatch event. |
| Update issue | General | Update a GitHub issue. |
| Update pull request | General | Update a GitHub pull request. |
Operations
Add Labels
Add labels to an issue or PR
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Issue Number issue_number | Yes | text | |
Labels labels | No | text |
Create comment
Create a comment on a GitHub issue or pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Issue Number issue_number | Yes | text | |
Body body | Yes | textarea |
Create issue
Create a GitHub issue.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Title title | Yes | text | |
Body body | Yes | textarea | |
Labels labels | Yes | text | |
Assignees assignees | Yes | text |
Tips
- title required. body in Markdown. labels, assignees, milestone optional.
Errors
Issues are disabled for this repo– Owner has disabled issues. Enable them in repo Settings.
Create pull request
Create a GitHub pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Title title | Yes | text | |
Body body | Yes | textarea | |
Head head | Yes | text | |
Base base | Yes | text |
Create release
Create a release on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Tag Name tag_name | Yes | text | |
Name name | Yes | text | |
Body body | Yes | textarea | |
Draft draft | No | switch | |
Prerelease prerelease | No | switch |
Tips
- tag_name + target_commitish (branch or SHA) + name (release title) + body (release notes in Markdown).
Create Repo
Create a new repository
| Parameter | Required | Type | Description |
|---|---|---|---|
Name name | Yes | text | |
Description description | No | text | |
Private private | No | switch | |
Auto Init auto_init | No | switch |
Tips
- Pass owner ('' for the authenticated user, or an org name for org repos).
- private=true creates a private repo. auto_init=true initialises with a README.
Get issue
Get a GitHub issue by number.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Issue Number issue_number | Yes | text |
Tips
- issue_number is the per-repo number (the #123 you see in the UI).
Get pull request
Get a GitHub pull request by number.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Pull Number pull_number | Yes | text |
Get repository
Get a GitHub repository by owner and name.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- owner + repo. Returns full repo metadata: visibility, default_branch, stars, language, etc.
List workflow runs
List GitHub Actions workflow runs.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
List branches
List branches on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- Returns branches + their head SHAs. protected=true filters to protected branches.
List commits
List commits on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- Filter by sha (start commit), path (file), author, since, until.
List Issue Comments
List comments on an issue
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Issue Number issue_number | Yes | text |
Tips
- Newest first. Page via per_page + page.
List issues
List issues on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- state=open / closed / all. labels=bug,help-wanted (comma list).
- GitHub treats pull requests as a type of issue – filter out via pull_request=null if you only want issues.
List Labels
List labels in a repository
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
List Milestones
List milestones in a repository
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
List PR reviews
List reviews on a GitHub pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Pull Number pull_number | Yes | text |
List pull requests
List pull requests on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
List releases
List releases on a GitHub repository.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- Returns published + draft releases (auth required for drafts). Newest first.
List repositories
List GitHub repositories.
No input parameters.
Tips
- Lists repos the authenticated user has access to. type=owner / member / all.
- Page via per_page (max 100) + page.
List Workflows
List GitHub Actions workflows
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text |
Tips
- Returns Actions workflow definitions (.github/workflows/*.yml files).
Merge pull request
Merge a GitHub pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Pull Number pull_number | Yes | text | |
Merge Method merge_method | No | text | |
Commit Title commit_title | No | text | |
Commit Message commit_message | No | text |
Request reviewers
Request reviewers for a GitHub pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Pull Number pull_number | Yes | text | |
Reviewers reviewers | No | text | |
Team Reviewers team_reviewers | No | text |
Search Issues
Search issues and pull requests
No input parameters.
Tips
- GitHub-search syntax: 'repo:owner/name is:open type:issue label:bug'.
- Tighter rate limit than other endpoints (30/min).
Search repositories
Search GitHub repositories.
No input parameters.
Trigger workflow
Trigger a GitHub Actions workflow dispatch event.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Workflow Id workflow_id | Yes | text | |
Ref ref | Yes | text | |
Inputs inputs | No | text |
Update issue
Update a GitHub issue.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Issue Number issue_number | Yes | text |
Tips
- PATCH-style. state: 'open' or 'closed'. state_reason for closures: 'completed', 'not_planned'.
Update pull request
Update a GitHub pull request.
| Parameter | Required | Type | Description |
|---|---|---|---|
Owner owner | Yes | text | |
Repo repo | Yes | text | |
Pull Number pull_number | Yes | text |
FAQ
- Personal access token vs GitHub App – which?
- PAT for personal automation or single-user bots. GitHub App for org-scale automation – better security (per-repo scopes, no impersonation), higher rate limits. The connector accepts both; for App auth, generate an installation token externally and paste it like a regular bearer token.
- Fine-grained vs classic PAT?
- Always prefer fine-grained. Scope to specific repos + minimum permissions. Classic PATs are coarse (repo gives access to ALL your repos) and slated for deprecation.
- Why does my PR Merge return 405 'Method Not Allowed'?
- Either branch protection rules require status checks not yet passing, OR the org has restricted merge methods. Check the repo's Settings → Branches and try a different merge_method.
- GHES (Enterprise Server) – how?
- Set the GHES base URL on the connection (e.g. https://github.yourcompany.com/api/v3). Everything else works the same.
- Webhooks – when?
- For event-driven automation (issue opened → run process), use GitHub Webhooks pointed at Automize's webhook ingest URL. This connector handles the API-call side; webhooks are configured separately.