From cb5b313915558e6392dec3edfa1c951a15bab73f Mon Sep 17 00:00:00 2001 From: Overtorment Date: Wed, 4 Nov 2020 17:28:10 +0000 Subject: [PATCH] fix --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 9ff9243..42b463d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -51,6 +51,7 @@ async function run(): Promise { if (reviews.data.length >= 1) { let _approves = {}; for (const review of reviews.data) { + if (review["state"] === "COMMENTED") continue; if (review["state"] !== "APPROVED") { console.log("NOT approved by", review.user.login); _approves[review.user.login] = false;