Skip to main content
GitHub logo

Overview

Add GitHub to any ModuleX agent or workflow. Repository, issue, pull request, branch, commit, and code search actions against the GitHub REST API (v3, api.github.com).
Categories: Developer Tools & Infrastructure · Version Control · Productivity · Auth: OAuth2, Personal Access Token · Actions: 16

Authentication

OAuth2 Authentication

Connect using GitHub OAuth (recommended for most use cases)

Required Credentials

OAuth Configuration

  • Authorization URL: https://github.com/login/oauth/authorize
  • Token URL: https://github.com/login/oauth/access_token
  • Scopes: repo, user, read:org, workflow

Available Actions

Parameters

string
Filter by visibility: all, public, private (Default: all)
string
Sort by: created, updated, pushed, full_name (Default: full_name)
integer
Results per page (max 100) (Default: 30)

Response

Parameters

string
required
Repository name
string
Repository description
boolean
Whether the repository is private (Default: false)

Response

Parameters

string
required
Repository owner (username or organization)
string
required
Repository name to delete

Response

Parameters

string
required
Repository owner
string
required
Repository name

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
Issue state: open, closed, all (Default: open)

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
required
Issue title
string
Issue body
array
Issue labels

Response

Parameters

string
required
Repository owner
string
required
Repository name
integer
required
Issue number

Response

Parameters

string
required
Repository owner
string
required
Repository name
integer
required
Issue number
string
Issue title
string
Issue body
string
Issue state: open or closed

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
PR state: open, closed, all (Default: open)

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
required
Pull request title
string
required
The name of the branch where your changes are implemented
string
required
The name of the branch you want the changes pulled into
string
Pull request description

Response

Parameters

string
required
Repository owner
string
required
Repository name
integer
required
Pull request number

Response

Parameters

string
required
Repository owner
string
required
Repository name
integer
required
Pull request number
string
Commit message for the merge
string
Merge method: merge, squash, rebase (Default: merge)

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
required
New branch name
string
Source branch (defaults to default branch)

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
required
File path
string
Branch name (defaults to default branch)

Response

Parameters

string
required
Repository owner
string
required
Repository name
string
required
Branch name
string
required
Commit message
array
required
Array of file objects with path and content

Response

Parameters

string
required
Search query
string
Sort by: indexed (default) (Default: indexed)
integer
Results per page (max 100) (Default: 30)

Response

Limits & Quotas

  • Authenticated REST API: 5,000 requests per hour per token.
  • Search API (search_code): 30 requests per minute, separate quota — and q must be at least one valid qualifier (e.g. repo:owner/name or language:python).
  • create_commit makes five sequential API calls (ref, base commit, one blob per file, tree, commit, ref update). Budget accordingly when committing many files.
  • delete_repository is irreversible and requires the token to carry the delete_repo scope; Fine-grained tokens additionally need the Administration: write permission.

GitLab

Greptile

Algolia