From 2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 Mon Sep 17 00:00:00 2001 From: Arthur Lechte <22671200+asawo@users.noreply.github.com> Date: Wed, 8 Sep 2021 15:20:13 +0900 Subject: [PATCH] Make github_token no longer required as input (#276) --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b50c827..4aafba9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -939,7 +939,7 @@ const core = __importStar(__webpack_require__(393)); function run() { return __awaiter(this, void 0, void 0, function* () { try { - const githubToken = core.getInput('github_token', { required: true }); + const githubToken = core.getInput('github_token'); const labels = core .getInput('labels') .split('\n') diff --git a/src/main.ts b/src/main.ts index 596b4a6..4773365 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,7 +3,7 @@ import * as core from '@actions/core'; async function run(): Promise { try { - const githubToken = core.getInput('github_token', { required: true }); + const githubToken = core.getInput('github_token'); const labels = core .getInput('labels')