Compare commits

..

No commits in common. "dbd94e7b37098280793b9e3f1db41a98470e4dd7" and "bb54e1048a042e1aaf1af8529abfd350e6458104" have entirely different histories.

View File

@ -112,10 +112,8 @@ class PRHandler {
}
static formatPrBody(pullRequest: Gitea.PullRequest, repositoryFullName: string): string {
// Strip the "🤖 Generated with Claude Code" footer that gets appended to PR bodies
const claudeFooter = /\n*🤖.*Claude Code[^\n]*$/
const body = (pullRequest.body || "_empty_")
.replace(claudeFooter, "")
.replace(/\n*🤖 Generated with \[Claude Code\].*$/s, "")
.trim() || "_empty_"
let message = `
> ### [${pullRequest.title}](<${pullRequest.html_url}>)