File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ const REQUESTING_USER = mustGetEnv("REQUESTING_USER");
1818const SOURCE_ISSUE = + mustGetEnv ( "SOURCE_ISSUE" ) ;
1919const BUILD_BUILDID = + mustGetEnv ( "BUILD_BUILDID" ) ;
2020const DISTINCT_ID = mustGetEnv ( "DISTINCT_ID" ) ;
21+ const STATUS_COMMENT = + mustGetEnv ( "STATUS_COMMENT" ) ;
2122
2223const gh = new Octokit ( {
2324 auth : process . argv [ 2 ] ,
@@ -83,7 +84,7 @@ let posted = false;
8384for ( let i = 0 ; i < 5 ; i ++ ) {
8485 // Get status comment contents
8586 const statusComment = await gh . rest . issues . getComment ( {
86- comment_id : SOURCE_ISSUE ,
87+ comment_id : STATUS_COMMENT ,
8788 owner : "microsoft" ,
8889 repo : "TypeScript" ,
8990 } ) ;
@@ -98,7 +99,7 @@ for (let i = 0; i < 5; i++) {
9899
99100 // Update status comment
100101 await gh . rest . issues . updateComment ( {
101- comment_id : SOURCE_ISSUE ,
102+ comment_id : STATUS_COMMENT ,
102103 owner : "microsoft" ,
103104 repo : "TypeScript" ,
104105 body : newComment ,
You can’t perform that action at this time.
0 commit comments