Skip to main content
Version: 2.4.0

GitHub

ToolJet can connect to GitHub account to read and write data. In order for ToolJet to access and manipulate data on GitHub, a GitHub Personal Access Token is necessary to authenticate and interact with the GitHub API.

Marketplace: GitHub
note

Before following this guide, it is assumed that you have already completed the process of Using Marketplace plugins.

Connection

For connecting to GitHub, following credentials are required:

caution

If a Personal Access Token is not provided, the data from the private repositories will not be retrieved via the GitHub Plugin. However, the public repositories data can still be retrieved.

Marketplace: GitHub

Supported queries

Marketplace: GitHub

Get user info

All the details regarding the user is retrieved by running this query.

Required parameters:

  • Username: To obtain the details, the username of the user must be provided for this field. You can input the username of a GitHub organization or a user for this field.
Marketplace: GitHub

Get repository

All the details regarding the repository are retrieved by running this query.

Required parameters:

  • Owner: The owner's name of the repository is required for this field. The owner can either be a GitHub organization or a user.
  • Repository: Provide the name of the repository of which you want to retrieve the details.
Marketplace: GitHub

Get repository issues

Running this query will retrieve a list of issues from a repository. You can select whether to obtain All, Open, or Closed issues.

Required parameters:

  • Owner: The owner's name of the repository is required for this field. The owner can either be a GitHub organization or a user.
  • Repository: Provide the name of the repository of which you want to retrieve the issues.
  • State: Choose the state of the issues that you would like to retrieve: All, Open, or Closed.
Marketplace: GitHub

Get repository pull requests

Running this query will retrieve a list of pull requests from a repository. You can select whether to obtain All, Open, or Closed issues.

Required parameters:

  • Owner: The owner's name of the repository is required for this field. The owner can either be a GitHub organization or a user.
  • Repository: Provide the name of the repository of which you want to retrieve the pull requests.
  • State: Choose the state of the pull requests that you would like to retrieve: All, Open, or Closed.
Marketplace: GitHub