HOMEBREW_GITHUB_API_TOKEN
doesn't apply for call to https://api.github.com/repos/org/name/releases/latest
#17272
Closed
3 tasks done
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I'm trying to run a test in GitHub Actions for installing a local brew formula:
brew install PATH_TO_FORMULA
. The formula points to a local file for release:What happened (include all command output)?
The GitHub Aciton fails for
GET https://api.github.com/repos/org/name/releases/latest: 403 API rate limit exceeded 403 (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.
even if I have setHOMEBREW_GITHUB_API_TOKEN
to authenticate with GitHub.What did you expect to happen?
HOMEBREW_GITHUB_API_TOKEN
will be used to authenticate with GitHub for any API calls, and I won't run into GitHub API rate limit errors.Besides, why would
GET https://api.github.com/repos/org/name/releases/latest
(checking the latest release) be called while I install a local formula that points to a local file for release?Step-by-step reproduction instructions (by running
brew
commands)Create a GitHub Actions workflow with the following:
HOMEBREW_GITHUB_API_TOKEN
is set to a valid tokenbrew installs PATH_TO_FORMULA
If the Action worker's IP is rate limited, the workflow will fail for the
403 API rate limit exceeded for 13.105.117.46. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.
error.An example workflow result is here: https://github.com/pgxman/pgxman/actions/runs/9036106788/job/24832321215#step:4:79
The text was updated successfully, but these errors were encountered: