From ab04bf6ec7e35087811629bf177f028b41d2b85f Mon Sep 17 00:00:00 2001 From: Chris Estreich Date: Wed, 2 Jul 2025 13:44:56 -0800 Subject: [PATCH] Update pullRequestReviewCommentHandler.ts --- .../webhooks/github/handlers/pullRequestReviewCommentHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/roomote/src/app/api/webhooks/github/handlers/pullRequestReviewCommentHandler.ts b/apps/roomote/src/app/api/webhooks/github/handlers/pullRequestReviewCommentHandler.ts index e6a63d3ebe..65517e7668 100644 --- a/apps/roomote/src/app/api/webhooks/github/handlers/pullRequestReviewCommentHandler.ts +++ b/apps/roomote/src/app/api/webhooks/github/handlers/pullRequestReviewCommentHandler.ts @@ -41,7 +41,7 @@ export async function handlePullRequestReviewCommentEvent(body: string) { return NextResponse.json({ message: 'action_ignored' }); } - if (!comment.body.includes('@roomote') && comment.user.login !== 'roomote') { + if (!comment.body.includes('@roomote') || comment.user.login === 'roomote') { return NextResponse.json({ message: 'no_roomote_mention' }); }