You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduction repository:
Run commands which call the github API for 50+ times in more than an hour (note this is not limited to all-contributors/or your comupter, other programs on your machine and network contribute to this 50 limit for unauthenticated requests: https://developer.github.com/v3/rate_limit/
Problem description:
API limit hit for all contributors
yarn all-contributors check
yarn run v1.7.0
$ /code/codewatch/node_modules/.bin/all-contributors check
API rate limit exceeded for xxx.xx.xx.xxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Suggested solution:
A way to provide a GITHUB_AUTH_TOKEN env var which is attached to github requests to avoid api limits.
FYI This is cropping up on a number of projects. It also appears to be affecting all-contributors-cli, when a contributor was trying to add himself here: #97
I still run into this with the latest version of the cli, so I do not believe this has been fully fixed.
EDIT: It took me a while to realize that you added documentation of how to circumvent this at https://allcontributors.org/docs/en/cli/usage#github-users
Thanks & sorry for the noise!
Activity
[-]API rate limit exceeded for xxx[/-][+]GitHub API rate limit exceeded for xxx[/+]jakebolam commentedon Dec 23, 2018
I put together an example of the changes required: #122
jakebolam commentedon Dec 23, 2018
FYI This is cropping up on a number of projects. It also appears to be affecting all-contributors-cli, when a contributor was trying to add himself here: #97
feat: way to avoid github API limit (#122)
fix: turn off Analytics in a local or test environment (#121)
klieret commentedon Jul 20, 2022
I still run into this with the latest version of the cli, so I do not believe this has been fully fixed.
EDIT: It took me a while to realize that you added documentation of how to circumvent this at https://allcontributors.org/docs/en/cli/usage#github-users
Thanks & sorry for the noise!