From 6062d1b5181fcb2c852de75fc1af56641911ee55 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Sun, 12 Apr 2026 13:13:39 +0100 Subject: [PATCH] Trigger analyst on edited comments, not just new ones An edited comment during analysis is equally meaningful as a new one for continuing the conversation with the analyst. Co-Authored-By: Claude Opus 4.6 --- src/handlers/issue-comment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers/issue-comment.ts b/src/handlers/issue-comment.ts index 9efe106..1f7bbb2 100644 --- a/src/handlers/issue-comment.ts +++ b/src/handlers/issue-comment.ts @@ -12,8 +12,8 @@ export function issueComment(config: Config, coder: CoderClient) { return async (c: Context) => { const event = await c.req.json(); - if (event.action !== "created") { - return c.text("ignored: not a created event", 200); + if (event.action !== "created" && event.action !== "edited") { + return c.text("ignored: not a created or edited event", 200); } const commenter = event.comment.user.login;