Creates an authenticated Octokit client with getOctokit from
@actions/github that waits and retries when GitHub reports a rate limit,
using the official plugin @octokit/plugin-throttling.
Both rate limit handlers call shouldRetryOnRateLimit and replace any
handlers in options.throttle; its other settings are kept.
Parameters
token: string
The token to authenticate with, such as GITHUB_TOKEN.
Creates an authenticated Octokit client with
getOctokitfrom@actions/githubthat waits and retries when GitHub reports a rate limit, using the official plugin@octokit/plugin-throttling.Both rate limit handlers call shouldRetryOnRateLimit and replace any handlers in
options.throttle; its other settings are kept.