From fbd72411914b8dcfbdd2893a2f81e34179986746 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Jan 2022 12:31:37 +0100 Subject: [PATCH] chore: Bump @octokit/auth-app from 3.6.0 to 3.6.1 in /modules/runners/lambdas/runners (#1301) * chore: Bump @octokit/auth-app in /modules/runners/lambdas/runners Bumps [@octokit/auth-app](https://github.com/octokit/auth-app.js) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/octokit/auth-app.js/releases) - [Commits](https://github.com/octokit/auth-app.js/compare/v3.6.0...v3.6.1) --- updated-dependencies: - dependency-name: "@octokit/auth-app" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * fix unit tests for upgrade @octokit/auth-app from 3.6.0 to 3.6.1 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niek Palm --- modules/runners/lambdas/runners/package.json | 2 +- .../src/scale-runners/scale-down.test.ts | 1 + .../src/scale-runners/scale-up.test.ts | 1 + modules/runners/lambdas/runners/yarn.lock | 22 +++++-------------- 4 files changed, 8 insertions(+), 18 deletions(-) diff --git a/modules/runners/lambdas/runners/package.json b/modules/runners/lambdas/runners/package.json index a2fded9340..4fe7f49625 100644 --- a/modules/runners/lambdas/runners/package.json +++ b/modules/runners/lambdas/runners/package.json @@ -35,7 +35,7 @@ }, "dependencies": { "@aws-sdk/client-ssm": "^3.45.0", - "@octokit/auth-app": "3.6.0", + "@octokit/auth-app": "3.6.1", "@octokit/rest": "^18.12.0", "@octokit/types": "^6.34.0", "@types/aws-lambda": "^8.10.89", diff --git a/modules/runners/lambdas/runners/src/scale-runners/scale-down.test.ts b/modules/runners/lambdas/runners/src/scale-runners/scale-down.test.ts index 629be733c9..f1336f3605 100644 --- a/modules/runners/lambdas/runners/src/scale-runners/scale-down.test.ts +++ b/modules/runners/lambdas/runners/src/scale-runners/scale-down.test.ts @@ -233,6 +233,7 @@ describe('scaleDown', () => { expiresAt: 'some-date', permissions: {}, repositorySelection: 'all', + installationId: 0, }); mockCreateClient.mockResolvedValue(new mocktokit()); DEFAULT_RUNNERS = JSON.parse(JSON.stringify(DEFAULT_RUNNERS_ORIGINAL)); diff --git a/modules/runners/lambdas/runners/src/scale-runners/scale-up.test.ts b/modules/runners/lambdas/runners/src/scale-runners/scale-up.test.ts index 6d5d61662a..f7924001f7 100644 --- a/modules/runners/lambdas/runners/src/scale-runners/scale-up.test.ts +++ b/modules/runners/lambdas/runners/src/scale-runners/scale-up.test.ts @@ -136,6 +136,7 @@ beforeEach(() => { expiresAt: 'some-date', permissions: {}, repositorySelection: 'all', + installationId: 0, }); mockCreateClient.mockResolvedValue(new mocktokit()); diff --git a/modules/runners/lambdas/runners/yarn.lock b/modules/runners/lambdas/runners/yarn.lock index 313d5567f6..72411ab87d 100644 --- a/modules/runners/lambdas/runners/yarn.lock +++ b/modules/runners/lambdas/runners/yarn.lock @@ -1150,10 +1150,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@octokit/auth-app@3.6.0": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-3.6.0.tgz#79fc6f652d2362ce0bd3122f6f764a87cc813dea" - integrity sha512-A+tLuHEMXw+Xz9dmKO7Ho9i4EmMr4tThrwYTlmMNu8y93JxvvRjKFFElpCTS+Z0NlbfuyNdaTlJnAinFbVKm7g== +"@octokit/auth-app@3.6.1": + version "3.6.1" + resolved "https://registry.yarnpkg.com/@octokit/auth-app/-/auth-app-3.6.1.tgz#aa5b02cc211175cbc28ce6c03c73373c1206d632" + integrity sha512-6oa6CFphIYI7NxxHrdVOzhG7hkcKyGyYocg7lNDSJVauVOLtylg8hNJzoUyPAYKKK0yUeoZamE/lMs2tG+S+JA== dependencies: "@octokit/auth-oauth-app" "^4.3.0" "@octokit/auth-oauth-user" "^1.2.3" @@ -1289,19 +1289,7 @@ deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.3.0", "@octokit/request@^5.4.14": - version "5.6.0" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.0.tgz#6084861b6e4fa21dc40c8e2a739ec5eff597e672" - integrity sha512-4cPp/N+NqmaGQwbh3vUsYqokQIzt7VjsgTYVXiwpUP2pxd5YiZB2XuTedbb0SPtv9XS7nzAKjAuQxmY8/aZkiA== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" - is-plain-object "^5.0.0" - node-fetch "^2.6.1" - universal-user-agent "^6.0.0" - -"@octokit/request@^5.6.0": +"@octokit/request@^5.3.0", "@octokit/request@^5.4.14", "@octokit/request@^5.6.0": version "5.6.1" resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.1.tgz#f97aff075c37ab1d427c49082fefeef0dba2d8ce" integrity sha512-Ls2cfs1OfXaOKzkcxnqw5MR6drMA/zWX/LIS/p8Yjdz7QKTPQLMsB3R+OvoxE6XnXeXEE2X7xe4G4l4X0gRiKQ==