diff --git a/packages/spike/src/bridge/webhook-handler.ts b/packages/spike/src/bridge/webhook-handler.ts index 98291b5..be0d904 100644 --- a/packages/spike/src/bridge/webhook-handler.ts +++ b/packages/spike/src/bridge/webhook-handler.ts @@ -112,7 +112,9 @@ class PRHandler { } static formatPrBody(pullRequest: Gitea.PullRequest, repositoryFullName: string): string { - const body = pullRequest.body || "_empty_" + const body = (pullRequest.body || "_empty_") + .replace(/\n*🤖 Generated with \[Claude Code\].*$/s, "") + .trim() || "_empty_" let message = ` > ### [${pullRequest.title}](<${pullRequest.html_url}>) > **${repositoryFullName}**