mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 11:33:27 +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,
|
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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue