fix: Dont filter bot comments when updating bot comment

This commit is contained in:
bracesproul 2025-07-29 14:32:38 -07:00
parent d098048fa7
commit 68216a88e6

View file

@ -89,10 +89,11 @@ async function postGitHubIssueComment(input: {
repo: targetRepository.repo, repo: targetRepository.repo,
issueNumber: githubIssueId, issueNumber: githubIssueId,
githubInstallationToken, githubInstallationToken,
filterBotComments: false,
}); });
const existingOpenSWEComment = existingComments?.findLast((c) => const existingOpenSWEComment = existingComments?.findLast((c) =>
c.user?.login?.startsWith(githubAppName), c.user?.login?.toLowerCase()?.startsWith(githubAppName.toLowerCase()),
); );
if (!existingOpenSWEComment) { if (!existingOpenSWEComment) {