mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-10 00:43:02 +01:00
Remove redundant review ID check
This commit is contained in:
parent
cdbbbd6403
commit
6245a39a82
1
bot.ts
1
bot.ts
@ -165,7 +165,6 @@ const bot: ApplicationFunction = (app) => {
|
|||||||
if (
|
if (
|
||||||
renameRequiredText === '' &&
|
renameRequiredText === '' &&
|
||||||
notFoundText === '' &&
|
notFoundText === '' &&
|
||||||
existingReview?.id &&
|
|
||||||
existingReview?.state !== 'APPROVED'
|
existingReview?.state !== 'APPROVED'
|
||||||
) {
|
) {
|
||||||
await context.octokit.pulls.dismissReview({
|
await context.octokit.pulls.dismissReview({
|
||||||
|
Loading…
Reference in New Issue
Block a user