Skip to content

Commit

Permalink
fix build_test
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper committed Nov 6, 2023
1 parent 00298f3 commit d5ba25d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions yaml/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -193,7 +193,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -223,7 +223,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "plugins/docker:18.09",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -351,7 +351,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Name: "install",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -387,7 +387,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -423,7 +423,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -467,7 +467,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Name: "install",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -496,7 +496,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -525,7 +525,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Image: "openjdk:latest",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down Expand Up @@ -573,7 +573,7 @@ func TestYaml_Build_UnmarshalYAML(t *testing.T) {
Name: "install",
Pull: "always",
Ruleset: Ruleset{
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize"}},
If: Rules{Event: []string{"push", "pull_request:opened", "pull_request:synchronize", "pull_request:reopened"}},
Matcher: "filepath",
Operator: "and",
},
Expand Down

0 comments on commit d5ba25d

Please sign in to comment.