From ce980714af082de5861cb3cb946b57eaede56ade Mon Sep 17 00:00:00 2001 From: xxq250 Date: Wed, 12 Feb 2025 09:07:47 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E6=B5=81=E6=B0=B4=E7=BA=BF=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E4=BA=8B=E4=BB=B6pull=5Frequest:opened?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb | 2 ++ 1 file changed, 2 insertions(+) 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 9690d1cb7..c08455162 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,8 @@ on: <% end %> <%if node.name.to_s.include?("on-pull_request") && node.input_values.present? %> pull_request: + types: + - opened <% node.input_values.each_key do |key| %> <%=key %>: <% if node.input_values[key].blank? %>