Here is a link to a guide to get your personal access token from GitHub
:
“For API requests using Basic Authentication
or OAuth
, you can make up to 5,000 requests per hour.”
If you have a need for more api rate limits, you can set many tokens in the config file and we will use all of your tokens.
NOTE: You can get 15000 requests/hour/token if you pay for GitHub
enterprise.
The connection aspect of the configuration screen requires the following key fields to connect to the GitHub API. As GitHub is a single-source data provider at the moment, the connection name is read-only as there is only one instance to manage. As we continue our development roadmap we may enable multi-source connections for GitHub in the future.
READONLY
]https://
or http://
)https://api.github.com/
For help on Creating a personal access token, please see official GitHub Docs on Personal Tokens
For an overview of the GitHub REST API, please see official GitHub Docs on REST
Click Save Connection to update connection settings.
Manage additional settings and options for the GitHub Datasource Provider. Currently there is only one optional setting, Proxy URL. If you are behind a corporate firewall or VPN you may need to utilize a proxy server.
GitHub Proxy URL [ Optional
] Enter a valid proxy server address on your Network, e.g. http://your-proxy-server.com:1080
Click Save Settings to update additional settings.
curl --location --request POST 'localhost:8080/task' \ --header 'Content-Type: application/json' \ --data-raw '[[{ "Plugin": "github", "Options": { "repositoryName": "lake", "owner": "merico-dev" } }]]'