function getOctokit(token, options, ...additionalPlugins) {
    const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins);
    return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options));
}
Returns a hydrated octokit ready to use for GitHub Actions

@param     token    the repo PAT or GITHUB_TOKEN
@param     options  other options to set