mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
fix: Dont filter bot comments when updating bot comment
This commit is contained in:
parent
d098048fa7
commit
68216a88e6
1 changed files with 2 additions and 1 deletions
|
|
@ -89,10 +89,11 @@ async function postGitHubIssueComment(input: {
|
|||
repo: targetRepository.repo,
|
||||
issueNumber: githubIssueId,
|
||||
githubInstallationToken,
|
||||
filterBotComments: false,
|
||||
});
|
||||
|
||||
const existingOpenSWEComment = existingComments?.findLast((c) =>
|
||||
c.user?.login?.startsWith(githubAppName),
|
||||
c.user?.login?.toLowerCase()?.startsWith(githubAppName.toLowerCase()),
|
||||
);
|
||||
|
||||
if (!existingOpenSWEComment) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue