mirror of
https://github.com/restic/restic.git
synced 2026-09-01 18:27:15 +00:00
13 lines
607 B
Plaintext
13 lines
607 B
Plaintext
Enhancement: Optional GitHub token for `self-update` API requests
|
|
|
|
`restic self-update` used only unauthenticated GitHub API requests when
|
|
checking for releases. Shared IP addresses could hit the GitHub rate limit,
|
|
resulting in a 403 Forbidden error and preventing updates.
|
|
|
|
Unauthenticated requests remain the default, but authenticated requests are now
|
|
optional. Set the environment variable `GITHUB_ACCESS_TOKEN` to a GitHub
|
|
[personal access token](https://github.com/settings/tokens) to avoid rate-limit failures.
|
|
|
|
https://github.com/restic/restic/issues/3738
|
|
https://github.com/restic/restic/pull/5568
|