File tree 1 file changed +1
-3
lines changed 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { OWNER, REPO } from '../../release/common';
6
6
7
7
import commentText from './text' ;
8
8
9
- // this should be changed to the bot name once we have the logs
10
- const BOT_NAME = 'shortcuts' ;
9
+ const BOT_NAME = 'algolia-bot' ;
11
10
const PR_NUMBER = parseInt ( process . env . PR_NUMBER || '0' , 10 ) ;
12
11
const octokit = new Octokit ( {
13
12
auth : `token ${ process . env . GITHUB_TOKEN } ` ,
@@ -81,7 +80,6 @@ export async function upsertGenerationComment(trigger: Trigger): Promise<void> {
81
80
res . data . filter (
82
81
( comment ) =>
83
82
comment . user ?. login === BOT_NAME &&
84
- // this shouldn't be needed once we have a proper bot running
85
83
( comment . body ?. startsWith ( commentText . codegen . header ) ||
86
84
comment . body ?. startsWith ( commentText . noGen . header ) ||
87
85
comment . body ?. startsWith ( commentText . notification . header ) )
You can’t perform that action at this time.
0 commit comments