-
Notifications
You must be signed in to change notification settings - Fork 731
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
getRateLimit() fails for GitHub Enterprise #78
Comments
I'm expiriencing this same issue. There is a issue in jenkins plugin, ghprb, https://issues.jenkins-ci.org/browse/JENKINS-22441 reporting this. |
I don't have access to GitHub Enterprise, so can't reproduce the problem nor verify the fix. A pull request would be greatly appreciated. |
Fixed for 1.53. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getRateLimit()
at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body ofGitHub Enterprise users are considered white listed and so don't have rate limits.
See also janinko/ghprb#127
The text was updated successfully, but these errors were encountered: