Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nango.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

πŸš€ Quickstart

Connect to GitHub with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> GitHub.
2

Authorize GitHub

Go to Connections -> Add Test Connection -> Authorize, then log in to GitHub. Later, you’ll let your users do the same directly from your app.
3

Call the GitHub API

Let’s make your first request to the GitHub API. Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/repos" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š GitHub Integration Guides

Nango maintained guides for common use cases. Official docs: GitHub REST API Documentation

🧩 Pre-built syncs & actions for GitHub

Enable them in your dashboard. Extend and customize to fit your needs.

Actions

Function nameDescriptionTypeSource code
get-job-logs-download-urlGet the API endpoint URL for a workflow job log download. Due to Nango proxy limitations with 302 redirects, this returns the API endpoint rather than the actual download URL.ActionπŸ”— Github
get-workflowRetrieve metadata for a GitHub Actions workflow.ActionπŸ”— Github
list-workflow-runsList workflow runs for a repository or a specific workflowActionπŸ”— Github
rerun-workflow-runRerun a completed or failed workflow run.ActionπŸ”— Github
trigger-workflow-dispatchTrigger a GitHub Actions workflow_dispatch run for a workflow file or IDActionπŸ”— Github

Branches

Function nameDescriptionTypeSource code
get-branchRetrieve branch metadata and protection status.ActionπŸ”— Github
list-branchesList branches for a repository with optional pagination and protected filtering.ActionπŸ”— Github

Commits

Function nameDescriptionTypeSource code
get-commitRetrieve a commit with changed files and statsActionπŸ”— Github
list-commitsList commits for a repository or branch with common filtersActionπŸ”— Github

Files

Function nameDescriptionTypeSource code
list-filesLists all the files of a Github repo given a specific branchSyncπŸ”— Github

Git

Function nameDescriptionTypeSource code
create-branchCreate a branch ref from an existing commit SHAActionπŸ”— Github
create-tag-objectCreate an annotated Git tag object for a commit or object SHA.ActionπŸ”— Github
get-tag-refRetrieve a tag ref or branch-style Git referenceActionπŸ”— Github

Issues

Function nameDescriptionTypeSource code
add-issue-commentCreate a new comment on an issue or pull request discussion threadActionπŸ”— Github
create-issueOpen a new GitHub issue in a repository.ActionπŸ”— Github
get-issueFetch a single issue or pull request issue record by number.ActionπŸ”— Github
list-issue-commentsList comments attached to an issue or pull request threadActionπŸ”— Github
list-issuesList repository issues with state, assignee, label, and pagination filters.ActionπŸ”— Github
list-labelsList repository labels with paginationActionπŸ”— Github
update-issueEdit an issue’s title, body, state, assignees, labels, or milestone.ActionπŸ”— Github

Labels

Function nameDescriptionTypeSource code
create-labelCreate a repository label with name, color, and descriptionActionπŸ”— Github
delete-labelDelete a repository label by nameActionπŸ”— Github
get-labelRetrieve a single repository label by name.ActionπŸ”— Github
update-labelUpdate a repository label’s name, color, or description.ActionπŸ”— Github

Pull Requests

Function nameDescriptionTypeSource code
create-pull-requestOpen a pull request from one branch into another.ActionπŸ”— Github
create-review-requestRequest reviewers or teams on an open pull requestActionπŸ”— Github
get-reviewRetrieve a pull request review by review ID.ActionπŸ”— Github
list-pull-request-filesList files changed by a pull requestActionπŸ”— Github
list-pull-request-reviewsList reviews submitted on a pull requestActionπŸ”— Github
list-pull-requestsList pull requests for a repository with state and branch filtersActionπŸ”— Github
merge-pull-requestMerge an open pull request using the selected merge method.ActionπŸ”— Github
submit-pull-request-reviewCreate a pull request review with approval, comment, or change request.ActionπŸ”— Github
update-pull-requestEdit a pull request’s title, body, base branch, or state.ActionπŸ”— Github

Pull requests

Function nameDescriptionTypeSource code
get-pull-requestFetch a single pull request by number.ActionπŸ”— Github

Releases

Function nameDescriptionTypeSource code
create-releasePublish a Git tag release for a repository.ActionπŸ”— Github
delete-releaseDelete a release by release ID.ActionπŸ”— Github
get-releaseRetrieve a single release by release ID.ActionπŸ”— Github
list-release-assetsList assets uploaded to a repository release.ActionπŸ”— Github
list-releasesList published and draft releases for a repository.ActionπŸ”— Github
update-releaseEdit release metadata such as name, notes, or draft state.ActionπŸ”— Github

Repositories

Function nameDescriptionTypeSource code
create-or-update-fileCreate a new file or update existing repository contents in a branch.ActionπŸ”— Github
delete-fileDelete a file from a repository branch.ActionπŸ”— Github
get-file-contentsRetrieve a file or directory entry from repository contents.ActionπŸ”— Github
get-repositoryRetrieve repository metadata, visibility, default branch, and owner info.ActionπŸ”— Github

Workflow Jobs

Function nameDescriptionTypeSource code
list-workflow-jobsList jobs in a workflow run attemptActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
get-workflow-runRetrieve a workflow run with status and conclusion details.ActionπŸ”— Github
list-workflowsList GitHub Actions workflows configured in a repository.ActionπŸ”— Github
commitsSync commits for repositories and branches in scopeSyncπŸ”— Github
issuesSync issues for one or more GitHub repositories with incremental updates based on issue activitySyncπŸ”— Github
pull-requestsSync pull requests for one or more GitHub repositories, including status, branches, and merge state.SyncπŸ”— Github
releasesSync releases for one or more GitHub repositories.SyncπŸ”— Github
repositoriesSync repositories visible to the authenticated GitHub user or installation.SyncπŸ”— Github
repository-filesSync file metadata for a specific repository branch using the Git trees API recursivelySyncπŸ”— Github
workflow-runsSync GitHub Actions workflow runs for one or more repositories.SyncπŸ”— Github