diff --git a/dist/index.js b/dist/index.js index e6b1adee5..f1afd6c13 100644 --- a/dist/index.js +++ b/dist/index.js @@ -115375,6 +115375,7 @@ function getRedisClient({ log, redisConfig }) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getProbotOctokitWithDefaults = void 0; const get_octokit_throttle_options_1 = __nccwpck_require__(2286); +const alias_log_1 = __nccwpck_require__(95326); /** * Returns an Octokit instance with default settings for authentication. If * a `githubToken` is passed explicitly, the Octokit instance will be @@ -115401,6 +115402,9 @@ function getProbotOctokitWithDefaults(options) { }); let defaultOptions = { auth: authOptions, + log: options.log.child + ? alias_log_1.aliasLog(options.log.child({ name: "octokit" })) + : options.log, }; if (options.baseUrl) { defaultOptions.baseUrl = options.baseUrl; @@ -115921,7 +115925,7 @@ Server.version = version_1.VERSION; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.VERSION = void 0; // The version is set automatically before publish to npm -exports.VERSION = "12.2.3"; +exports.VERSION = "12.2.4"; //# sourceMappingURL=version.js.map /***/ }), diff --git a/package.json b/package.json index 8c3657ead..95d665df3 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "ignore": "5.2.0", "joi": "17.6.0", "lodash": "4.17.21", - "probot": "12.2.3", + "probot": "12.2.4", "regex-parser": "2.2.11", "semver": "7.3.7" }, diff --git a/yarn.lock b/yarn.lock index 49e4cadbd..b3dfd83f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4050,10 +4050,10 @@ pretty-format@^28.1.0: ansi-styles "^5.0.0" react-is "^18.0.0" -probot@12.2.3, probot@^12.2.1: - version "12.2.3" - resolved "https://registry.yarnpkg.com/probot/-/probot-12.2.3.tgz#34534dc016cd7a25f4a7a63e437c9a5d781d681c" - integrity sha512-ZQg8wdulcQqA7kw7pHWkV7TGBkksVJGAguem9dwaEE+709Kc8R6HHhxI9umeS4Te+UFPzS33n3ocKY9uhFyrfw== +probot@12.2.4, probot@^12.2.1: + version "12.2.4" + resolved "https://registry.yarnpkg.com/probot/-/probot-12.2.4.tgz#0767d5b95b1800f4eb7faabf02909b8b07067f43" + integrity sha512-BeBI/a5zBie1r/jCOwy6mFZzKgqjE7kY6jj0BDDPczKCkkbOLg2bN/IbJMFh/IqFtlyXVefymXGi51hJCPF6KA== dependencies: "@octokit/core" "^3.2.4" "@octokit/plugin-enterprise-compatibility" "^1.2.8"