From 56a11f290897da7c73f2c7e23d80e91256f202b3 Mon Sep 17 00:00:00 2001 From: Ryan Olson Date: Mon, 1 Mar 2021 16:52:14 -0600 Subject: [PATCH] =?UTF-8?q?=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.js b/main.js index fa884787..4af60ec4 100644 --- a/main.js +++ b/main.js @@ -32,13 +32,13 @@ async function main() { // throw new Error("don't specify `run_id`, `workflow_conclusion` together") //} - if (!workflow_conclusion) { - workflow_conclusion = "completed" - } + //if (!workflow_conclusion) { + // workflow_conclusion = "completed" + //} - if(!allowed_workflow_conclusions.includes(workflow_conclusion)) { - throw new Error(`Unknown workflow conclusion '${workflow_conclusion}'`) - } + //if(!allowed_workflow_conclusions.includes(workflow_conclusion)) { + // throw new Error(`Unknown workflow conclusion '${workflow_conclusion}'`) + //} console.log("==> Repo:", owner + "/" + repo)