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 4d3bf7738..3887278b4 100644 --- a/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb +++ b/app/views/api/v1/projects/pipelines/build_pipeline.yaml.erb @@ -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: