From 8cf6863cd3f5fbe3ef77c1eec883ed9c65fb8ec0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 28 Nov 2023 03:36:19 +0100 Subject: [PATCH] Lint --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 5471fed..75d9e4e 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const github = require("@actions/github"); async function run() { try { - //Get input + // Get input const tag = process.env.TAG || process.env.INPUT_TAG || ""; const repoInput = core.getInput("repo") || process.env.GITHUB_REPOSITORY; @@ -18,7 +18,7 @@ async function run() { const repo = repository.join("/"); const octokit = github.getOctokit( - process.env.GITHUB_TOKEN || core.getInput("github_token"), + process.env.GITHUB_TOKEN || core.getInput("github_token") ); var exists = "false"; @@ -26,7 +26,7 @@ async function run() { const getRefResponse = await octokit.rest.git.getRef({ owner, repo, - ref: `tags/${tag}`, + ref: `tags/${tag}` }); if (getRefResponse.status === 200) {