From 2e8d0a3807b31f246dd09c070f494eada51a7c32 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 08:51:49 +0900 Subject: [PATCH] fix(deps): bump @actions/github from 5.1.0 to 5.1.1 (#678) * chore(deps): bump @actions/github from 5.1.0 to 5.1.1 Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github) --- updated-dependencies: - dependency-name: "@actions/github" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * build: update dist Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ybiquitous --- dist/index.cjs | 6 +++--- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index a4dcaaa7..7b58f64d 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -9507,7 +9507,7 @@ var require_utils4 = __commonJS({ return result; }; Object.defineProperty(exports, "__esModule", { value: true }); - exports.getOctokitOptions = exports.GitHub = exports.context = void 0; + exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; var Context = __importStar(require_context()); var Utils = __importStar(require_utils2()); var core_1 = require_dist_node8(); @@ -9515,13 +9515,13 @@ var require_utils4 = __commonJS({ var plugin_paginate_rest_1 = require_dist_node10(); exports.context = new Context.Context(); var baseUrl = Utils.getApiBaseUrl(); - var defaults = { + exports.defaults = { baseUrl, request: { agent: Utils.getProxyAgent(baseUrl) } }; - exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults); + exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults); function getOctokitOptions(token, options) { const opts = Object.assign({}, options || {}); const auth = Utils.getAuthString(token, opts); diff --git a/package-lock.json b/package-lock.json index a50f9813..966fa95c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@actions/core": "^1.9.1", "@actions/exec": "^1.1.1", - "@actions/github": "^5.1.0", + "@actions/github": "^5.1.1", "hosted-git-info": "^5.1.0" }, "devDependencies": { @@ -50,9 +50,9 @@ } }, "node_modules/@actions/github": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.0.tgz", - "integrity": "sha512-tuI80F7JQIhg77ZTTgUAPpVD7ZnP9oHSPN8xw7LOwtA4vEMbAjWJNbmLBfV7xua7r016GyjzWLuec5cs8f/a8A==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", + "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", "dependencies": { "@actions/http-client": "^2.0.1", "@octokit/core": "^3.6.0", @@ -15067,9 +15067,9 @@ } }, "@actions/github": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.0.tgz", - "integrity": "sha512-tuI80F7JQIhg77ZTTgUAPpVD7ZnP9oHSPN8xw7LOwtA4vEMbAjWJNbmLBfV7xua7r016GyjzWLuec5cs8f/a8A==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", + "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", "requires": { "@actions/http-client": "^2.0.1", "@octokit/core": "^3.6.0", diff --git a/package.json b/package.json index dd38bf44..9e6fc904 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "dependencies": { "@actions/core": "^1.9.1", "@actions/exec": "^1.1.1", - "@actions/github": "^5.1.0", + "@actions/github": "^5.1.1", "hosted-git-info": "^5.1.0" }, "devDependencies": {