GitHub integration

DevOps: repos, issues, pull requests, actions, releases, users, gists

Help CentreConnectors

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.

  1. For personal automation: GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens.
  2. 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).
  3. Copy the token (starts with github_pat_...).
  4. 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).
  5. 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.

OperationCategoryWhat it does
Add LabelsGeneralAdd labels to an issue or PR
Create commentGeneralCreate a comment on a GitHub issue or pull request.
Create issueGeneralCreate a GitHub issue.
Create pull requestGeneralCreate a GitHub pull request.
Create releaseGeneralCreate a release on a GitHub repository.
Create RepoGeneralCreate a new repository
Get issueGeneralGet a GitHub issue by number.
Get pull requestGeneralGet a GitHub pull request by number.
Get repositoryGeneralGet a GitHub repository by owner and name.
List workflow runsGeneralList GitHub Actions workflow runs.
List branchesGeneralList branches on a GitHub repository.
List commitsGeneralList commits on a GitHub repository.
List Issue CommentsGeneralList comments on an issue
List issuesGeneralList issues on a GitHub repository.
List LabelsGeneralList labels in a repository
List MilestonesGeneralList milestones in a repository
List PR reviewsGeneralList reviews on a GitHub pull request.
List pull requestsGeneralList pull requests on a GitHub repository.
List releasesGeneralList releases on a GitHub repository.
List repositoriesGeneralList GitHub repositories.
List WorkflowsGeneralList GitHub Actions workflows
Merge pull requestGeneralMerge a GitHub pull request.
Request reviewersGeneralRequest reviewers for a GitHub pull request.
Search IssuesGeneralSearch issues and pull requests
Search repositoriesGeneralSearch GitHub repositories.
Trigger workflowGeneralTrigger a GitHub Actions workflow dispatch event.
Update issueGeneralUpdate a GitHub issue.
Update pull requestGeneralUpdate a GitHub pull request.

Operations

Add Labels

Add labels to an issue or PR

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Issue Number issue_numberYestext
Labels labelsNotext

Create comment

Create a comment on a GitHub issue or pull request.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Issue Number issue_numberYestext
Body bodyYestextarea

Create issue

Create a GitHub issue.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Title titleYestext
Body bodyYestextarea
Labels labelsYestext
Assignees assigneesYestext

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.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Title titleYestext
Body bodyYestextarea
Head headYestext
Base baseYestext

Create release

Create a release on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Tag Name tag_nameYestext
Name nameYestext
Body bodyYestextarea
Draft draftNoswitch
Prerelease prereleaseNoswitch

Tips

  • tag_name + target_commitish (branch or SHA) + name (release title) + body (release notes in Markdown).

Create Repo

Create a new repository

ParameterRequiredTypeDescription
Name nameYestext
Description descriptionNotext
Private privateNoswitch
Auto Init auto_initNoswitch

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.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Issue Number issue_numberYestext

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.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Pull Number pull_numberYestext

Get repository

Get a GitHub repository by owner and name.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

Tips

  • owner + repo. Returns full repo metadata: visibility, default_branch, stars, language, etc.

List workflow runs

List GitHub Actions workflow runs.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

List branches

List branches on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

Tips

  • Returns branches + their head SHAs. protected=true filters to protected branches.

List commits

List commits on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

Tips

  • Filter by sha (start commit), path (file), author, since, until.

List Issue Comments

List comments on an issue

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Issue Number issue_numberYestext

Tips

  • Newest first. Page via per_page + page.

List issues

List issues on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

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

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

List Milestones

List milestones in a repository

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

List PR reviews

List reviews on a GitHub pull request.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Pull Number pull_numberYestext

List pull requests

List pull requests on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

List releases

List releases on a GitHub repository.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

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

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext

Tips

  • Returns Actions workflow definitions (.github/workflows/*.yml files).

Merge pull request

Merge a GitHub pull request.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Pull Number pull_numberYestext
Merge Method merge_methodNotext
Commit Title commit_titleNotext
Commit Message commit_messageNotext

Request reviewers

Request reviewers for a GitHub pull request.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Pull Number pull_numberYestext
Reviewers reviewersNotext
Team Reviewers team_reviewersNotext

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.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Workflow Id workflow_idYestext
Ref refYestext
Inputs inputsNotext

Update issue

Update a GitHub issue.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Issue Number issue_numberYestext

Tips

  • PATCH-style. state: 'open' or 'closed'. state_reason for closures: 'completed', 'not_planned'.

Update pull request

Update a GitHub pull request.

ParameterRequiredTypeDescription
Owner ownerYestext
Repo repoYestext
Pull Number pull_numberYestext

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.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.