Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cdf68ddff |
@@ -16,7 +16,8 @@ export function prRework(config: Config, queue: TaskQueue) {
|
|||||||
return c.text("ignored: not a reviewed event", 200);
|
return c.text("ignored: not a reviewed event", 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!event.review) {
|
if (!event.review?.state) {
|
||||||
|
console.log(`[pr-rework] ignored: no review state (review: ${JSON.stringify(event.review)})`);
|
||||||
return c.text("ignored: no review data", 200);
|
return c.text("ignored: no review data", 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user