GitHub

Integrate your application with the GitHub API

🚀 Quickstart

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

Create the integration

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

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.

Call the GitHub API

Let's make your first request to the GitHub API. Replace the placeholders below with your Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/repos" \
  -H "Authorization: Bearer <NANGO-API-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 Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 GitHub Integration Guides

Tenklo maintained guides for common use cases.

Official docs: GitHub REST API Documentation

🧩 Pre-built syncs & actions for GitHub

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

Files

Function nameDescriptionTypeSource code
list-filesLists all the files of a Github repo given a specific branchSync🔗 Github

Others

Function nameDescriptionTypeSource code
add-issue-commentCreate a new comment on an issue or pull request discussion threadAction🔗 Github
create-branchCreate a branch ref from an existing commit SHAAction🔗 Github
create-issueOpen a new GitHub issue in a repository.Action🔗 Github
create-labelCreate a repository label with name, color, and descriptionAction🔗 Github
create-or-update-fileCreate a new file or update existing repository contents in a branch.Action🔗 Github
create-pull-requestOpen a pull request from one branch into another.Action🔗 Github
create-releasePublish a Git tag release for a repository.Action🔗 Github
create-review-requestRequest reviewers or teams on an open pull requestAction🔗 Github
create-tag-objectCreate an annotated Git tag object for a commit or object SHA.Action🔗 Github
delete-fileDelete a file from a repository branch.Action🔗 Github
delete-labelDelete a repository label by nameAction🔗 Github
delete-releaseDelete a release by release ID.Action🔗 Github
get-branchRetrieve branch metadata and protection status.Action🔗 Github
get-commitRetrieve a commit with changed files and statsAction🔗 Github
get-file-contentsRetrieve a file or directory entry from repository contents.Action🔗 Github
get-issueFetch a single issue or pull request issue record by number.Action🔗 Github
get-job-logs-download-urlGet the API endpoint URL for a workflow job log download. Due to Tenklo proxy limitations with 302 redirects, this returns the API endpoint rather than the actual download URL.Action🔗 Github
get-labelRetrieve a single repository label by name.Action🔗 Github
get-pull-requestFetch a single pull request by number.Action🔗 Github
get-releaseRetrieve a single release by release ID.Action🔗 Github
get-repositoryRetrieve repository metadata, visibility, default branch, and owner info.Action🔗 Github
get-reviewRetrieve a pull request review by review ID.Action🔗 Github
get-tag-refRetrieve a tag ref or branch-style Git referenceAction🔗 Github
get-workflow-runRetrieve a workflow run with status and conclusion details.Action🔗 Github
get-workflowRetrieve metadata for a GitHub Actions workflow.Action🔗 Github
list-branchesList branches for a repository with optional pagination and protected filtering.Action🔗 Github
list-commitsList commits for a repository or branch with common filtersAction🔗 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
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
list-release-assetsList assets uploaded to a repository release.Action🔗 Github
list-releasesList published and draft releases for a repository.Action🔗 Github
list-workflow-jobsList jobs in a workflow run attemptAction🔗 Github
list-workflow-runsList workflow runs for a repository or a specific workflowAction🔗 Github
list-workflowsList GitHub Actions workflows configured in a repository.Action🔗 Github
merge-pull-requestMerge an open pull request using the selected merge method.Action🔗 Github
rerun-workflow-runRerun a completed or failed workflow run.Action🔗 Github
submit-pull-request-reviewCreate a pull request review with approval, comment, or change request.Action🔗 Github
trigger-workflow-dispatchTrigger a GitHub Actions workflow_dispatch run for a workflow file or IDAction🔗 Github
update-issueEdit an issue's title, body, state, assignees, labels, or milestone.Action🔗 Github
update-labelUpdate a repository label's name, color, or description.Action🔗 Github
update-pull-requestEdit a pull request's title, body, base branch, or state.Action🔗 Github
update-releaseEdit release metadata such as name, notes, or draft state.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

On this page