-
MethodDescriptionThis method cannot work on a
GHAppInstallation
retrieved fromGHApp.listInstallations()
(for example), except when resorting to unsupported hacks involving setRoot(GitHub) to switch from an application client to an installation client. This method will be removed. You should instead use an installation client (with an installation token, not a JWT), retrieve aGHAuthenticatedAppInstallation
fromGitHub.getInstallation()
, then callGHAuthenticatedAppInstallation.listRepositories()
.UseGHContent.read()
UseGHContent.read()
UseGHGist.getGistId()
instead.Use #listRepositories().withPageSize() instead.see https://docs.github.com/en/free-pro-team@latest/rest/teams/teams?apiVersion=2022-11-28#create-a-teamimplement aRateLimitChecker
and add it viaGitHubBuilder.withRateLimitChecker(RateLimitChecker)
.implement aRateLimitChecker
and add it viaGitHubBuilder.withRateLimitChecker(RateLimitChecker)
.
GHAppInstallation.createToken()
instead.