Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added GitHub token for authenticated GitHub API calls #1963

Merged
merged 3 commits into from
Mar 27, 2018

Conversation

montogeek
Copy link
Member

@montogeek montogeek commented Mar 27, 2018

We are hitting GH Rate limit (60 request/hr) very quickly, this will increase it to 5000.

Copy link
Member

@dhruvdutt dhruvdutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🎉

@jeremenichelli
Copy link
Member

So the problem was that we were fetching even when no token was present? We'll still gonna fetch on Travis I guess, I don't know if this will actually solve our quota issue.

@montogeek
Copy link
Member Author

No, we weren't using auth at all, this add authentication if the token exists (on Travis CI), a contributor won't have it locally, so I added a check before using it

@jeremenichelli
Copy link
Member

Go for it!

@montogeek montogeek merged commit 38993f4 into master Mar 27, 2018
@montogeek montogeek deleted the feat/github-auth branch March 27, 2018 09:50
@EugeneHlushko
Copy link
Member

great addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants