config
module is used in cases where you need to override the default Github token and repository path associated with the event payload.
By default, a GITHUB_TOKEN
with permissions for all repositories enabled in the Github app installation is injected into an agent’s runtime environment.
Example Usage
Methods
set_github_token
GITHUB_TOKEN
environment variable.
The GitHub token to use.
set_github_repository_path
GITHUB_REPOSITORY_PATH
environment variable.
The GitHub repository path to use. For example,
YourOrg/repo-name
.