fix
This commit is contained in:
parent
6d0fe36f3b
commit
cb5b313915
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user