FIX: bot comments dont count as approves

This commit is contained in:
overtorment 2024-08-08 18:30:47 +01:00
parent 0aed8e72f9
commit aad98d9d43

View File

@ -124,6 +124,11 @@ async function run(): Promise<void> {
approved =
Object.values(_approves).filter((el) => el === false).length === 0;
if (Object.keys(_approves).length === 0) {
// no human approves were given, only maybe bot comments
approved = false;
}
}
if (pr.requested_reviewers.length !== 0) {