This commit is contained in:
github-actions[bot]
2025-10-27 17:41:35 +00:00
parent f9eed03ba2
commit 723a9469fd
12 changed files with 2489 additions and 22705 deletions

View File

@@ -19846,6 +19846,7 @@ var require_context = __commonJS({
this.action = process.env.GITHUB_ACTION;
this.actor = process.env.GITHUB_ACTOR;
this.job = process.env.GITHUB_JOB;
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
@@ -21748,21 +21749,36 @@ var require_dist_node11 = __commonJS({
return to;
};
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
var dist_src_exports = {};
__export2(dist_src_exports, {
var index_exports = {};
__export2(index_exports, {
Octokit: () => Octokit
});
module2.exports = __toCommonJS2(dist_src_exports);
module2.exports = __toCommonJS2(index_exports);
var import_universal_user_agent = require_dist_node();
var import_before_after_hook = require_before_after_hook();
var import_request = require_dist_node5();
var import_graphql = require_dist_node9();
var import_auth_token = require_dist_node10();
var VERSION = "5.2.0";
var VERSION = "5.2.2";
var noop2 = () => {
};
var consoleWarn = console.warn.bind(console);
var consoleError = console.error.bind(console);
function createLogger(logger = {}) {
if (typeof logger.debug !== "function") {
logger.debug = noop2;
}
if (typeof logger.info !== "function") {
logger.info = noop2;
}
if (typeof logger.warn !== "function") {
logger.warn = consoleWarn;
}
if (typeof logger.error !== "function") {
logger.error = consoleError;
}
return logger;
}
var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
var Octokit = class {
static {
@@ -21836,15 +21852,7 @@ var require_dist_node11 = __commonJS({
}
this.request = import_request.request.defaults(requestDefaults);
this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults);
this.log = Object.assign(
{
debug: noop2,
info: noop2,
warn: consoleWarn,
error: consoleError
},
options.log
);
this.log = createLogger(options.log);
this.hook = hook;
if (!options.authStrategy) {
if (!options.auth) {
@@ -32333,7 +32341,7 @@ var require_package = __commonJS({
},
license: "MIT",
dependencies: {
"@actions/artifact": "^2.3.1",
"@actions/artifact": "^4.0.0",
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
"@actions/cache": "^4.1.0",
"@actions/core": "^1.11.1",