From 3fcbf74890364f146cfee6f8dd9260f1040cc42d Mon Sep 17 00:00:00 2001 From: xxq250 Date: Thu, 13 Feb 2025 16:06:57 +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=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projects/pipelines/build_pipeline.yaml.erb | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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 c08455162..41908c8f5 100644 --- a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb +++ b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb @@ -17,23 +17,8 @@ on: - '.gitea/workflows/**' - '.github/workflows/**' <% end %> - <%if node.name.to_s.include?("on-pull_request") && node.input_values.present? %> + <%if node.name.to_s.include?("on-pull_request") %> pull_request: - types: - - opened - <% node.input_values.each_key do |key| %> - <%=key %>: - <% if node.input_values[key].blank? %> - - '*' - <% else %> - <% node.input_values[key].to_s.split(",").each do |val| %> - - <%=val %> - <% end %> - <% end %> - <% end %> - paths-ignore: - - '.gitea/workflows/**' - - '.github/workflows/**' <% end %> <%if node.name.to_s.include?("on-fork") %> fork: