github
Web-based version-control and collaboration.
Provider Summary (v24.04.00227)
total services: 31
total methods: 885
total methods: 885
total resources: 281
total selectable resources: 276
total selectable resources: 276
See also:
[SHOW
] [DESCRIBE
] [REGISTRY
]
Installation
To pull the latest version of the github
provider, run the following command:
REGISTRY PULL github;
To view previous provider versions or to pull a specific provider version, see here.
Authentication
The following system environment variables are used for authentication by default:
STACKQL_GITHUB_USERNAME
- GitHub username (login)STACKQL_GITHUB_PASSWORD
- GitHub Personal Access Token (see Creating a personal access token)
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
Using different environment variables
To use different environment variables (instead of the defaults), use the --auth
flag of the stackql
program. For example:
AUTH='{ "github": { "type": "basic", "username_var": "YOUR_GITHUB_USERNAME_VAR", "password_var": "YOUR_GITHUB_PASSWORD_VAR" }}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'github': { 'type': 'basic', 'username_var': 'YOUR_GITHUB_USERNAME_VAR', 'password_var': 'YOUR_GITHUB_PASSWORD_VAR' }}"
stackql.exe shell --auth=$Auth