File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ ${getReleasePlanMessage(releasePlan)}
6969
7070[Click here if you're a maintainer who wants to add a changeset to this MR](${ addChangesetUrl } )
7171
72+ __Generated By Changesets Bot__
7273`
7374
7475const getApproveMessage = (
@@ -87,6 +88,7 @@ Not sure what this means? [Click here to learn what changesets are](https://git
8788
8889[Click here if you're a maintainer who wants to add another changeset to this MR](${ addChangesetUrl } )
8990
91+ __Generated By Changesets Bot__
9092`
9193
9294const getNewChangesetTemplate = ( changedPackages : string [ ] , title : string ) =>
@@ -100,7 +102,10 @@ ${title}
100102const getCommentId = ( api : Gitlab , mrIid : number | string ) =>
101103 api . MergeRequestNotes . all ( context . projectId , mrIid ) . then ( comments => {
102104 const changesetBotComment = comments . find (
103- comment => comment . author . username === process . env . GITLAB_CI_USER_NAME ,
105+ comment =>
106+ comment . author . username === process . env . GITLAB_CI_USER_NAME &&
107+ ! comment . system &&
108+ comment . body . includes ( 'Generated By Changesets Bot' ) ,
104109 )
105110 return changesetBotComment ? changesetBotComment . id : null
106111 } )
You can’t perform that action at this time.
0 commit comments