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