Supported Providers
GitHub
GitHub provider allows integration with GitHub for managing repositories, issues, pull requests, and more.
Authentication
This provider requires authentication.
- access_token: GitHub Access Token (required: True, sensitive: True)
In workflows
This provider can be used in workflows.
As “step” to query data, example:
As “action” to make changes or update data, example:
Check the following workflow examples:
- db_disk_space.yml
- dd.yml
- keep_semantic_alert_example_datadog.yml
- new_github_stars.yml
- run_github_action.yaml
- update_workflows_from_http.yml
Provider Methods
The provider exposes the following Provider Methods. They are available in the AI Assistant.
-
get_last_commits Get the N last commits from a GitHub repository (view, scopes: no additional scopes)
repository
: The GitHub repository to get the commits from.n
: The number of commits to get.
-
get_last_releases Get the N last releases and their changelog from a GitHub repository (view, scopes: no additional scopes)
repository
: The GitHub repository to get the releases from.n
: The number of releases to get.
Connecting with the Provider
- Go to your GitHub account and navigate to Settings > Developer Settings > Personal Access Tokens.
- Generate a token with the required permissions (e.g.,
repo
,workflow
, etc.). - Copy the token and provide it as
github_token
in the provider configuration.