From e6f0df4615d7c34914b555f545cf63857001fef9 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 11 Oct 2021 15:00:14 +0000 Subject: [PATCH] chore: publish dist --- dist/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 36a73cb..c4f19a3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2266,7 +2266,7 @@ function run() { } const octokit = github_1.DefaultOctokit({ auth: config.GITHUB_TOKEN, - baseUrl: process.env.GITHUB_API_URL || "https://api.github.com" + baseUrl: config.GITHUB_API_URL }); let repos; if (config.REPOSITORIES_LIST_REGEX) { @@ -5724,6 +5724,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(__webpack_require__(470)); function getConfig() { const config = { + GITHUB_API_URL: core.getInput("GITHUB_API_URL") || + process.env.GITHUB_API_URL || + "https://api.github.com", GITHUB_TOKEN: core.getInput("GITHUB_TOKEN", { required: true }), CONCURRENCY: Number(core.getInput("CONCURRENCY")), RETRIES: Number(core.getInput("RETRIES")),