diff --git a/dist/index.js b/dist/index.js index e821e3a7..a193444a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1075,8 +1075,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 diff --git a/package-lock.json b/package-lock.json index 0308be73..7e50b61d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "optic-release-automation-action", - "version": "3.2.2", + "version": "3.2.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "optic-release-automation-action", - "version": "3.2.2", + "version": "3.2.3", "license": "MIT", "dependencies": { "@actions/core": "^1.9.1", diff --git a/package.json b/package.json index dbd66c0b..8ea390dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "optic-release-automation-action", - "version": "3.2.2", + "version": "3.2.3", "description": "Automate the release process of your npm modules by providing them OTP on-demand.", "main": "src/index.js", "scripts": {