build(deps): bump @actions/github from 5.0.3 to 5.1.0 (#571)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2022-09-26 11:37:25 +02:00
committed by GitHub
parent b2bfd0f130
commit 08fdc050d7
4 changed files with 14 additions and 12 deletions

5
dist/run/index.js vendored
View File

@ -3744,8 +3744,9 @@ exports.context = new Context.Context();
* @param token the repo PAT or GITHUB_TOKEN
* @param options other options to set
*/
function getOctokit(token, options) {
return new utils_1.GitHub(utils_1.getOctokitOptions(token, options));
function getOctokit(token, options, ...additionalPlugins) {
const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins);
return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options));
}
exports.getOctokit = getOctokit;
//# sourceMappingURL=github.js.map