Remove redundant review ID check

This commit is contained in:
Maciej Pędzich 2022-10-01 17:08:30 +02:00
parent cdbbbd6403
commit 6245a39a82

1
bot.ts
View File

@ -165,7 +165,6 @@ const bot: ApplicationFunction = (app) => {
if (
renameRequiredText === '' &&
notFoundText === '' &&
existingReview?.id &&
existingReview?.state !== 'APPROVED'
) {
await context.octokit.pulls.dismissReview({