update the ai moderator to not activate if i comment in a PR

This commit is contained in:
Michał
2026-08-16 14:58:22 +00:00
committed by GitHub
parent 76e1bb1fc1
commit adf96ddac2
+6
View File
@@ -42,6 +42,12 @@ jobs:
return;
}
const actor = context.payload.sender?.login;
if (actor === 'c-ludenberg') {
console.log('Repo owner, skipping moderation');
return;
}
const isComment = context.payload.comment !== undefined;
const isDiscussion = context.payload.discussion !== undefined;