Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Github

GitHub is a cloud-based Git repository hosting service that allows developers to store, manage, and track changes to their code.

Github logo

Supports authentication: OAuth 2.0

Get the contents of a file or directory from a GitHub repository. Returns Base64 encoded content for files.

PropertiesDescriptionType
ownerThe account owner of the repositorystring
pathThe content path (file or directory path in the repository)string
refThe name of the commit/branch/tagstring
repoThe name of the repositorystring

Create a new file or update an existing file in a GitHub repository. Content must be Base64 encoded. Requires SHA when updating existing files.

PropertiesDescriptionType
authorAuthor information object with name and emailobject
branchThe branch namestring
committerCommitter information object with name and emailobject
contentThe new file content (Base64 encoded)string
messageThe commit message for this changestring
ownerThe account owner of the repositorystring
pathThe file path in the repositorystring
repoThe name of the repositorystring
shaThe blob SHA of the file being replaced (required when updating existing files)string

Create a new issue in a repository. Requires push access to set assignees, milestones, and labels.

PropertiesDescriptionType
assigneesGitHub usernames to assign to the issuearray<string>
bodyThe contents of the issuestring
labelsLabels to associate with the issuearray<string>
milestoneMilestone number to associate with the issuenumber
ownerThe account owner of the repositorystring
repoThe name of the repositorystring
titleThe title of the issuestring
typeThe name of the issue typestring

List issues in a repository. Both issues and pull requests are returned as issues in the GitHub API.

PropertiesDescriptionType
assigneeFilter by assigned userstring
creatorFilter by issue creatorstring
directionSort orderstring
labelsFilter by comma-separated list of label namesstring
milestoneFilter by milestone number or statestring
ownerThe account owner of the repositorystring
pagePage number of results to fetchnumber
per_pageNumber of results per page (max 100)number
repoThe name of the repositorystring
sinceShow issues updated after this timestamp (ISO 8601 format)string
sortProperty to sort issues bystring
stateFilter by issue statestring

List public repositories for a specified user. Does not require authentication.

PropertiesDescriptionType
directionSort orderstring
pagePage number of results to fetchnumber
per_pageNumber of results per page (max 100)number
sortProperty to sort repositories bystring
typeFilter repositories by typestring
usernameThe GitHub username to list repositories forstring

Create a new pull request in a repository. Requires write access to the head branch.

PropertiesDescriptionType
baseThe name of the branch you want the changes pulled intostring
bodyThe contents of the pull request descriptionstring
draftIndicates whether the pull request is a draftboolean
headThe name of the branch where your changes are implemented (format: user:branch)string
maintainer_can_modifyIndicates whether maintainers can modify the pull requestboolean
ownerThe account owner of the repositorystring
repoThe name of the repositorystring
titleThe title of the pull requeststring

List pull requests in a repository with optional filtering by state, head, and base branches.

PropertiesDescriptionType
baseFilter by base branch namestring
directionSort orderstring
headFilter by head branch (format: user:ref-name)string
ownerThe account owner of the repositorystring
pagePage number of results to fetchnumber
per_pageNumber of results per page (max 100)number
repoThe name of the repositorystring
sortProperty to sort pull requests bystring
stateFilter by pull request statestring

Get detailed information about a GitHub repository including metadata, settings, and statistics.

PropertiesDescriptionType
ownerThe account owner of the repository (case-insensitive)string
repoThe name of the repository without the .git extension (case-insensitive)string

List repositories for the authenticated user. Requires authentication.

PropertiesDescriptionType
directionSort orderstring
pagePage number of results to fetchnumber
per_pageNumber of results per page (max 100)number
sortProperty to sort repositories bystring
typeFilter repositories by typestring