Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
slambdev authored Apr 28, 2021
1 parent 6e60e7f commit 7e76ed1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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");
Expand All @@ -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,
Expand Down

0 comments on commit 7e76ed1

Please sign in to comment.