Browse Source

fixed: 流水线启动事件设计时自动增加忽略流水线文件改动执行

pull/347/head
xxq250 1 year ago
parent
commit
5c2639773e
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb

+ 6
- 0
app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb View File

@@ -13,6 +13,9 @@ on:
<% end %>
<% end %>
<% end %>
paths-ignore:
- '.gitea/workflows/**'
- '.github/workflows/**'
<% end %>
<%if node.name.to_s.include?("on-pull_request") && node.input_values.present? %>
pull_request:
@@ -26,6 +29,9 @@ on:
<% end %>
<% end %>
<% end %>
paths-ignore:
- '.gitea/workflows/**'
- '.github/workflows/**'
<% end %>
<%if node.name.to_s.include?("on-schedule") && node.input_values.present? %>
schedule:


Loading…
Cancel
Save