@@ -137,7 +137,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
137137 Name : "install" ,
138138 Pull : "always" ,
139139 Ruleset : Ruleset {
140- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " , "pull_request:edited" }},
140+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " , "pull_request:edited" }},
141141 Matcher : "filepath" ,
142142 Operator : "and" ,
143143 },
@@ -166,7 +166,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
166166 Image : "openjdk:latest" ,
167167 Pull : "always" ,
168168 Ruleset : Ruleset {
169- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
169+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
170170 Matcher : "filepath" ,
171171 Operator : "and" ,
172172 },
@@ -195,7 +195,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
195195 Image : "openjdk:latest" ,
196196 Pull : "always" ,
197197 Ruleset : Ruleset {
198- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
198+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
199199 Matcher : "filepath" ,
200200 Operator : "and" ,
201201 },
@@ -225,7 +225,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
225225 Image : "plugins/docker:18.09" ,
226226 Pull : "always" ,
227227 Ruleset : Ruleset {
228- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
228+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
229229 Matcher : "filepath" ,
230230 Operator : "and" ,
231231 },
@@ -346,7 +346,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
346346 Name : "install" ,
347347 Pull : "always" ,
348348 Ruleset : Ruleset {
349- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
349+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
350350 Matcher : "filepath" ,
351351 Operator : "and" ,
352352 },
@@ -381,7 +381,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
381381 Image : "openjdk:latest" ,
382382 Pull : "always" ,
383383 Ruleset : Ruleset {
384- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
384+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
385385 Matcher : "filepath" ,
386386 Operator : "and" ,
387387 },
@@ -416,7 +416,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
416416 Image : "openjdk:latest" ,
417417 Pull : "always" ,
418418 Ruleset : Ruleset {
419- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
419+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
420420 Matcher : "filepath" ,
421421 Operator : "and" ,
422422 },
@@ -460,7 +460,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
460460 Name : "install" ,
461461 Pull : "always" ,
462462 Ruleset : Ruleset {
463- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
463+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
464464 Matcher : "filepath" ,
465465 Operator : "and" ,
466466 },
@@ -489,7 +489,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
489489 Image : "openjdk:latest" ,
490490 Pull : "always" ,
491491 Ruleset : Ruleset {
492- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
492+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
493493 Matcher : "filepath" ,
494494 Operator : "and" ,
495495 },
@@ -518,7 +518,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
518518 Image : "openjdk:latest" ,
519519 Pull : "always" ,
520520 Ruleset : Ruleset {
521- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
521+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
522522 Matcher : "filepath" ,
523523 Operator : "and" ,
524524 },
@@ -566,7 +566,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
566566 Name : "install" ,
567567 Pull : "always" ,
568568 Ruleset : Ruleset {
569- If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronized " }},
569+ If : Rules {Event : []string {"push" , "pull_request:opened" , "pull_request:synchronize " }},
570570 Matcher : "filepath" ,
571571 Operator : "and" ,
572572 },
0 commit comments