@@ -49,7 +49,7 @@ func Test_commenter(t *testing.T) {
4949 assetsChecklist := cfg .PathsChecklists [assetsGlob ].ToChecklistItemsMD (assetsGlob )
5050
5151 t .Run ("NoMatchingFiles" , func (t * testing.T ) {
52- action , _ := setupAction ("edited" )
52+ action , _ := setupAction ("pull-request. edited" )
5353 ghMockAPI := mock .NewMockedHTTPClient (
5454 mock .WithRequestMatch (
5555 mock .GetReposPullsFilesByOwnerByRepoByPullNumber ,
@@ -66,7 +66,7 @@ func Test_commenter(t *testing.T) {
6666 })
6767
6868 t .Run ("MatchingFilesNoExistingComment" , func (t * testing.T ) {
69- action , _ := setupAction ("edited" )
69+ action , _ := setupAction ("pull-request. edited" )
7070 ghMockAPI := mock .NewMockedHTTPClient (
7171 mock .WithRequestMatch (
7272 mock .GetReposPullsFilesByOwnerByRepoByPullNumber ,
@@ -103,7 +103,7 @@ func Test_commenter(t *testing.T) {
103103 })
104104
105105 t .Run ("MatchingFilesForSelectList" , func (t * testing.T ) {
106- action , _ := setupAction ("edited" )
106+ action , _ := setupAction ("pull-request. edited" )
107107 ghMockAPI := mock .NewMockedHTTPClient (
108108 mock .WithRequestMatch (
109109 mock .GetReposPullsFilesByOwnerByRepoByPullNumber ,
@@ -141,7 +141,7 @@ func Test_commenter(t *testing.T) {
141141 })
142142
143143 t .Run ("MatchingFilesWithExistingComment" , func (t * testing.T ) {
144- action , _ := setupAction ("edited" )
144+ action , _ := setupAction ("pull-request. edited" )
145145 ghMockAPI := mock .NewMockedHTTPClient (
146146 mock .WithRequestMatch (
147147 mock .GetReposPullsFilesByOwnerByRepoByPullNumber ,
@@ -168,7 +168,7 @@ func Test_commenter(t *testing.T) {
168168 })
169169
170170 t .Run ("MatchingFilesWithExistingCommentAndChangedFiles" , func (t * testing.T ) {
171- action , _ := setupAction ("edited" )
171+ action , _ := setupAction ("pull-request. edited" )
172172 schemaChecked := strings .ReplaceAll (schemaMigrationsChecklist , "[ ]" , "[x]" )
173173 ghMockAPI := mock .NewMockedHTTPClient (
174174 mock .WithRequestMatch (
0 commit comments