From 6245a39a82672fd6c5ac16774d05ace8c0398241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sat, 1 Oct 2022 17:08:30 +0200 Subject: [PATCH] Remove redundant review ID check --- bot.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/bot.ts b/bot.ts index 63587f1..f393690 100644 --- a/bot.ts +++ b/bot.ts @@ -165,7 +165,6 @@ const bot: ApplicationFunction = (app) => { if ( renameRequiredText === '' && notFoundText === '' && - existingReview?.id && existingReview?.state !== 'APPROVED' ) { await context.octokit.pulls.dismissReview({