2023-07-22 13:59:21 +00:00
|
|
|
# GitHub Attributes
|
2023-07-22 03:22:01 +00:00
|
|
|
|
2023-07-22 13:59:21 +00:00
|
|
|
Configuring [GitHub](https://github.com/) is optional but can allow you to avoid rate limits when requesting data from GitHub.
|
2023-07-22 03:22:01 +00:00
|
|
|
|
2023-07-22 13:59:21 +00:00
|
|
|
Requests made with a GitHub token have a higher rate limit than anonymous requests.
|
2023-07-22 03:22:01 +00:00
|
|
|
|
|
|
|
A `github` mapping is in the root of the config file.
|
|
|
|
|
|
|
|
Below is a `github` mapping example and the full set of attributes:
|
|
|
|
```yaml
|
|
|
|
github:
|
|
|
|
token: ################################
|
|
|
|
```
|
|
|
|
|
|
|
|
| Attribute | Allowed Values | Default | Required |
|
|
|
|
|:-------------------|:---------------------------------------------------------------------------|:--------|:--------:|
|
2023-07-22 13:59:21 +00:00
|
|
|
| `token` | GitHub Personal Access Token | N/A | ✅ |
|
2023-07-22 03:22:01 +00:00
|
|
|
|
2023-07-22 13:59:21 +00:00
|
|
|
* The GitHub Personal Access Token can be generated [here](https://github.com/settings/tokens).
|