1 line
70 KiB
Plaintext
1 line
70 KiB
Plaintext
|
{"version":3,"file":"index.js","sources":["../webpack://triage-issues/./lib/main.js","../webpack://triage-issues/./node_modules/@actions/core/lib/command.js","../webpack://triage-issues/./node_modules/@actions/core/lib/core.js","../webpack://triage-issues/./node_modules/@actions/core/lib/file-command.js","../webpack://triage-issues/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://triage-issues/./node_modules/@actions/core/lib/utils.js","../webpack://triage-issues/./node_modules/@actions/http-client/auth.js","../webpack://triage-issues/./node_modules/@actions/http-client/index.js","../webpack://triage-issues/./node_modules/@actions/http-client/proxy.js","../webpack://triage-issues/./node_modules/tunnel/index.js","../webpack://triage-issues/./node_modules/tunnel/lib/tunnel.js","../webpack://triage-issues/external \"assert\"","../webpack://triage-issues/external \"events\"","../webpack://triage-issues/external \"fs\"","../webpack://triage-issues/external \"http\"","../webpack://triage-issues/external \"https\"","../webpack://triage-issues/external \"net\"","../webpack://triage-issues/external \"os\"","../webpack://triage-issues/external \"path\"","../webpack://triage-issues/external \"tls\"","../webpack://triage-issues/external \"util\"","../webpack://triage-issues/webpack/bootstrap","../webpack://triage-issues/webpack/runtime/compat","../webpack://triage-issues/webpack/startup"],"sourcesContent":["\"use strict\";\r\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}));\r\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n});\r\nvar __importStar = (this && this.__importStar) || function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst core = __importStar(require(\"@actions/core\"));\r\nfunction run() {\r\n return __awaiter(this, void 0, void 0, function* () {\r\n try {\r\n const issue = core.getInput('issue');\r\n core.debug(`Got issue: ${issue} ...`); // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true\r\n const gitHubIssue = JSON.parse(issue);\r\n core.debug(`Got issue body: ${gitHubIssue.body} ...`); // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true\r\n const bodySections = gitHubIssue.body.split(\"### \");\r\n core.debug(`Got issue body lines: ${JSON.stringify(bodySections)} ...`); // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true\r\n const bodyArray = {};\r\n bodySections.forEach(section => {\r\n // Split the section into header and content \r\n
|