Deprecate GitHub basic authentication.

This API authentication path will be disabled on Nov 13 2020.
This commit is contained in:
Jonathan Chang
2020-10-01 17:18:11 +10:00
parent fc6ef72ee0
commit 6fb72f4d71
5 changed files with 10 additions and 7 deletions
+2
View File
@@ -91,6 +91,8 @@ module GitHub
return unless Homebrew::EnvConfig.github_api_username
return unless Homebrew::EnvConfig.github_api_password
odeprecated "the GitHub API with HOMEBREW_GITHUB_API_PASSWORD", "HOMEBREW_GITHUB_API_TOKEN"
[Homebrew::EnvConfig.github_api_password, Homebrew::EnvConfig.github_api_username]
end