-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check rate limit when getting github user (#855)
Also, don't fetch a github user or their token when both are known. This currently only affects the Github Token auth type. Github App installations will continually fetch tokens every time we clone a repo. In the future we should check the `ExpiresAt` field of the Github App token and determine if we need to fetch a new one at that point.
- Loading branch information
1 parent
029519e
commit fb56b9f
Showing
1 changed file
with
60 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters