From 7e76ed1cf911dc44e09b7b59a4800fb7b8094d83 Mon Sep 17 00:00:00 2001 From: slambdev <43852716+slambdev@users.noreply.github.com> Date: Wed, 28 Apr 2021 09:13:30 -0400 Subject: [PATCH] Update index.js --- dist/index.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dist/index.js b/dist/index.js index e5fec9d..33f3603 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7350,6 +7350,8 @@ module.exports = require("zlib");; var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. (() => { +// https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action + const Octokit = __nccwpck_require__(30); const core = __nccwpck_require__(65); const github = __nccwpck_require__(435); @@ -7367,13 +7369,6 @@ const labels = [ const newCoGitHubToken = core.getInput('gh_token'); // GITHUB_TOKEN const context = github.context; - core.info('GitHub IBM Token'); - core.info(ibmGitHubToken); - core.info('ZenHub IBM Token'); - core.info(zenHubToken); - core.info('This GitHub Token'); - core.info(newCoGitHubToken); - const newCoOctokit = github.getOctokit(newCoGitHubToken); core.info("Successfully initialized NewCo GH Client"); @@ -7390,7 +7385,7 @@ const labels = [ core.info("Successfully created label", label); core.info("------------------------------------"); } catch (error) { - core.warn("Failed to create label with error", { + core.error("Failed to create label with error", { error, label: label.name, color: label.color,