Skip to content

Commit

Permalink
chore: Compile stale action
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 29, 2021
1 parent b81612c commit 070eeee
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions .github/actions/format-stale-output/dist/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({

/***/ 264:
/***/ 989:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand All @@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.issue = exports.issueCommand = void 0;
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(814);
const utils_1 = __nccwpck_require__(91);
/**
* Commands
*
Expand Down Expand Up @@ -100,7 +100,7 @@ function escapeProperty(s) {

/***/ }),

/***/ 909:
/***/ 640:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -135,12 +135,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;
const command_1 = __nccwpck_require__(264);
const file_command_1 = __nccwpck_require__(694);
const utils_1 = __nccwpck_require__(814);
const command_1 = __nccwpck_require__(989);
const file_command_1 = __nccwpck_require__(856);
const utils_1 = __nccwpck_require__(91);
const os = __importStar(__nccwpck_require__(37));
const path = __importStar(__nccwpck_require__(17));
const oidc_utils_1 = __nccwpck_require__(786);
const oidc_utils_1 = __nccwpck_require__(766);
/**
* The code to exit an action
*/
Expand Down Expand Up @@ -419,7 +419,7 @@ exports.getIDToken = getIDToken;

/***/ }),

/***/ 694:
/***/ 856:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand Down Expand Up @@ -450,7 +450,7 @@ exports.issueCommand = void 0;
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(147));
const os = __importStar(__nccwpck_require__(37));
const utils_1 = __nccwpck_require__(814);
const utils_1 = __nccwpck_require__(91);
function issueCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
Expand All @@ -468,7 +468,7 @@ exports.issueCommand = issueCommand;

/***/ }),

/***/ 786:
/***/ 766:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {

"use strict";
Expand All @@ -484,9 +484,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
const http_client_1 = __nccwpck_require__(316);
const auth_1 = __nccwpck_require__(25);
const core_1 = __nccwpck_require__(909);
const http_client_1 = __nccwpck_require__(684);
const auth_1 = __nccwpck_require__(490);
const core_1 = __nccwpck_require__(640);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
const requestOptions = {
Expand Down Expand Up @@ -552,7 +552,7 @@ exports.OidcClient = OidcClient;

/***/ }),

/***/ 814:
/***/ 91:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -599,7 +599,7 @@ exports.toCommandProperties = toCommandProperties;

/***/ }),

/***/ 25:
/***/ 490:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -665,15 +665,15 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand

/***/ }),

/***/ 316:
/***/ 684:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {

"use strict";

Object.defineProperty(exports, "__esModule", ({ value: true }));
const http = __nccwpck_require__(685);
const https = __nccwpck_require__(687);
const pm = __nccwpck_require__(808);
const pm = __nccwpck_require__(42);
let tunnel;
var HttpCodes;
(function (HttpCodes) {
Expand Down Expand Up @@ -1092,7 +1092,7 @@ class HttpClient {
if (useProxy) {
// If using proxy, need tunnel
if (!tunnel) {
tunnel = __nccwpck_require__(707);
tunnel = __nccwpck_require__(69);
}
const agentOptions = {
maxSockets: maxSockets,
Expand Down Expand Up @@ -1210,7 +1210,7 @@ exports.HttpClient = HttpClient;

/***/ }),

/***/ 808:
/***/ 42:
/***/ ((__unused_webpack_module, exports) => {

"use strict";
Expand Down Expand Up @@ -1275,21 +1275,21 @@ exports.checkBypass = checkBypass;

/***/ }),

/***/ 707:
/***/ 69:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {

module.exports = __nccwpck_require__(154);
module.exports = __nccwpck_require__(599);


/***/ }),

/***/ 154:
/***/ 599:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {

"use strict";


var net = __nccwpck_require__(982);
var net = __nccwpck_require__(808);
var tls = __nccwpck_require__(404);
var http = __nccwpck_require__(685);
var https = __nccwpck_require__(687);
Expand Down Expand Up @@ -1595,7 +1595,7 @@ module.exports = require("https");

/***/ }),

/***/ 982:
/***/ 808:
/***/ ((module) => {

"use strict";
Expand Down Expand Up @@ -1676,11 +1676,17 @@ module.exports = require("util");
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
const core = __nccwpck_require__(909)
const core = __nccwpck_require__(640)
const slackMessage = "./slack-message"

function formatIssues(issues) {
return issues.map(entry => ({
const parsedIssues = JSON.parse(issues)

if (parsedIssues.length === 0) {
return []
}

return parsedIssues.map(entry => ({
title: entry.title,
url: `https://github.com/gatsbyjs/gatsby/issues/${entry.number}`
}))
Expand Down

0 comments on commit 070eeee

Please sign in to comment.