From ecf6e5c4c66d56eb44428c00163b142255f350b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 23:52:49 +0000 Subject: [PATCH 1/2] Bump @actions/github from 9.0.0 to 9.1.0 Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 9.0.0 to 9.1.0. - [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-version: 9.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index a9c3281..bc06fc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@actions/core": "^3.0.0", "@actions/exec": "^3.0.0", - "@actions/github": "^9.0.0", + "@actions/github": "^9.1.0", "adm-zip": "^0.5.17", "fast-glob": "^3.3.3", "picomatch": "^4.0.4", @@ -84,9 +84,9 @@ } }, "node_modules/@actions/github": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-9.0.0.tgz", - "integrity": "sha512-yJ0RoswsAaKcvkmpCE4XxBRiy/whH2SdTBHWzs0gi4wkqTDhXMChjSdqBz/F4AeiDlP28rQqL33iHb+kjAMX6w==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-9.1.0.tgz", + "integrity": "sha512-u0hDGQeCS+7VNoLA8hYG65RLdPLMaPGfka0sZ0up7P0AiShqfX6xcuXNteGkQ7X7Tod7AMNwHd4p7DS63i8zzA==", "license": "MIT", "dependencies": { "@actions/http-client": "^3.0.2", diff --git a/package.json b/package.json index ec0ec60..aa96c3b 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "dependencies": { "@actions/core": "^3.0.0", "@actions/exec": "^3.0.0", - "@actions/github": "^9.0.0", + "@actions/github": "^9.1.0", "adm-zip": "^0.5.17", "fast-glob": "^3.3.3", "picomatch": "^4.0.4", From fdce2624c0e60a27f26ff11e64cec0992458dd68 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2026 23:53:15 +0000 Subject: [PATCH 2/2] chore: rebuild dist for Dependabot update --- dist/index.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dist/index.js b/dist/index.js index f0ef7f7..022ddc5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -51648,6 +51648,19 @@ function getProxyFetch(destinationUrl) { function getApiBaseUrl() { return process.env['GITHUB_API_URL'] || 'https://api.github.com'; } +function getUserAgentWithOrchestrationId(baseUserAgent) { + var _a; + const orchId = (_a = process.env['ACTIONS_ORCHESTRATION_ID']) === null || _a === void 0 ? void 0 : _a.trim(); + if (orchId) { + const sanitizedId = orchId.replace(/[^a-z0-9_.-]/gi, '_'); + const tag = `actions_orchestration_id/${sanitizedId}`; + if (baseUserAgent === null || baseUserAgent === void 0 ? void 0 : baseUserAgent.includes(tag)) + return baseUserAgent; + const ua = baseUserAgent ? `${baseUserAgent} ` : ''; + return `${ua}${tag}`; + } + return baseUserAgent; +} //# sourceMappingURL=utils.js.map ;// CONCATENATED MODULE: ./node_modules/universal-user-agent/index.js function getUserAgent() { @@ -55759,6 +55772,7 @@ const defaults = { } }; const GitHub = Octokit.plugin(restEndpointMethods, paginateRest).defaults(defaults); + /** * Convience function to correctly format Octokit Options to pass into the constructor. * @@ -55772,6 +55786,11 @@ function getOctokitOptions(token, options) { if (auth) { opts.auth = auth; } + // Orchestration ID + const userAgent = getUserAgentWithOrchestrationId(opts.userAgent); + if (userAgent) { + opts.userAgent = userAgent; + } return opts; } //# sourceMappingURL=utils.js.map