diff --git a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb index 41908c8f5..02b40f71d 100644 --- a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb +++ b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb @@ -19,6 +19,7 @@ on: <% end %> <%if node.name.to_s.include?("on-pull_request") %> pull_request: + types: [opened, reopened] <% end %> <%if node.name.to_s.include?("on-fork") %> fork: