This commit is contained in:
Overtorment 2020-11-04 17:28:10 +00:00
parent 6d0fe36f3b
commit cb5b313915

View File

@ -51,6 +51,7 @@ async function run(): Promise<void> {
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;