Skip to content

Added GitHub token for authenticated GitHub API calls - #1963

Merged
montogeek merged 3 commits into
masterfrom
feat/github-auth
Mar 27, 2018
Merged

Added GitHub token for authenticated GitHub API calls#1963
montogeek merged 3 commits into
masterfrom
feat/github-auth

Conversation

@montogeek

@montogeek montogeek commented Mar 27, 2018

Copy link
Copy Markdown
Contributor

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

@dhruvdutt dhruvdutt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome 🎉

@jeremenichelli

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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