Skip to content

Commit 8788718

Browse files
committed
chore: bot name update
1 parent 1e837f8 commit 8788718

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/ci/codegen/upsertGenerationComment.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { OWNER, REPO } from '../../release/common';
77
import commentText from './text';
88

99
// this should be changed to the bot name once we have the logs
10-
const BOT_NAME = 'shortcuts';
10+
const BOT_NAME = 'algolia-api-client-bot';
1111
const PR_NUMBER = parseInt(process.env.PR_NUMBER || '0', 10);
1212
const octokit = new Octokit({
1313
auth: `token ${process.env.GITHUB_TOKEN}`,
@@ -81,7 +81,6 @@ export async function upsertGenerationComment(trigger: Trigger): Promise<void> {
8181
res.data.filter(
8282
(comment) =>
8383
comment.user?.login === BOT_NAME &&
84-
// this shouldn't be needed once we have a proper bot running
8584
(comment.body?.startsWith(commentText.codegen.header) ||
8685
comment.body?.startsWith(commentText.noGen.header) ||
8786
comment.body?.startsWith(commentText.notification.header))

0 commit comments

Comments
 (0)