From ef428377925c23aee10274ac363433b7c5465618 Mon Sep 17 00:00:00 2001 From: bubkoo Date: Sat, 26 Sep 2020 01:38:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20set=20secret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/action.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/action.ts b/src/action.ts index cde494d..4106feb 100644 --- a/src/action.ts +++ b/src/action.ts @@ -22,11 +22,9 @@ export namespace Action { installationId, }) - core.info(`Token: ${token}`) - const secretName = core.getInput('SECRET_NAME') if (secretName) { - await Util.createOrUpdateRepoSecret(octokit, secretName, token) + await Util.createOrUpdateRepoSecret(token, secretName, token) } core.setSecret(token)