mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-28 00:15:48 +01:00
Add review presence and CHANGES_REQUESTED check
This commit is contained in:
parent
6245a39a82
commit
1077d2d97e
2
bot.ts
2
bot.ts
@ -165,7 +165,7 @@ const bot: ApplicationFunction = (app) => {
|
|||||||
if (
|
if (
|
||||||
renameRequiredText === '' &&
|
renameRequiredText === '' &&
|
||||||
notFoundText === '' &&
|
notFoundText === '' &&
|
||||||
existingReview?.state !== 'APPROVED'
|
existingReview?.state === 'CHANGES_REQUESTED'
|
||||||
) {
|
) {
|
||||||
await context.octokit.pulls.dismissReview({
|
await context.octokit.pulls.dismissReview({
|
||||||
...workingRepo,
|
...workingRepo,
|
||||||
|
Loading…
Reference in New Issue
Block a user