diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 4009178dbc..561ce9a747 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -636,6 +636,8 @@ can take several different forms: for more information. Homebrew uses the GitHub API for features such as `brew search`. + *NOTE*: Homebrew doesn't require permissions for any of the scopes. + * HOMEBREW\_LOGS: If set, Homebrew will use the given directory to store log files. diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ee101b7c39..4cbb383013 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -419,10 +419,10 @@ module GitHub def initialize(reset, error) super <<-EOS.undent GitHub #{error} - Try again in #{pretty_ratelimit_reset(reset)}, or create an personal access token: - https://github.com/settings/tokens + Try again in #{pretty_ratelimit_reset(reset)}, or create a personal access token: + https://github.com/settings/tokens/new?scopes=&description=Homebrew and then set the token as: HOMEBREW_GITHUB_API_TOKEN - EOS + EOS end def pretty_ratelimit_reset(reset)