Allow for a personal token to be specified for self-updates#5568
Merged
MichaelEischer merged 2 commits intoNov 17, 2025
Conversation
This change will allow for setting the $GITHUB_ACCESS_TOKEN environment variable with a Github personal access token, allowing e.g. for higher rate limits
cec9839 to
77331c7
Compare
MichaelEischer
requested changes
Nov 16, 2025
MichaelEischer
left a comment
Member
There was a problem hiding this comment.
Thanks for working on this! I have a few small remarks, see below
| Please see the :ref:`official_binaries` section below for various downloads. | ||
| Official binaries can be updated in place by using the ``restic self-update`` | ||
| command. | ||
| command. The environment variable ``$GITHUB_ACCESS_TOKEN`` can be set to use a personal access token when updating. |
Member
There was a problem hiding this comment.
Move that to a separate paragraph. Add a short remark on why one would want to do this.
Contributor
Author
There was a problem hiding this comment.
Hopefully what I reworded is enough?
087fa69 to
72cef5c
Compare
Contributor
Author
|
Thank you for your review @MichaelEischer! Hopefully my changes fix what you suggested :) |
72cef5c to
8784bbb
Compare
kikoqiu
pushed a commit
to kikoqiu/restic
that referenced
this pull request
Nov 26, 2025
) * Allow for a personal token to be specified for self-updates This change will allow for setting the $GITHUB_ACCESS_TOKEN environment variable with a Github personal access token, allowing e.g. for higher rate limits * Refactor github request and add test --------- Co-authored-by: Paulo Saraiva <pauloman@cern.ch>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR change? What problem does it solve?
This change will allow for setting the $GITHUB_ACCESS_TOKEN environment variable with a Github personal access token, allowing e.g. for higher rate limits
Was the change previously discussed in an issue or on the forum?
Closes #3738
Checklist
changelog/unreleased/that describes the changes for our users (see template).