fixed 流水线重复生成

This commit is contained in:
xxq250 2025-08-19 10:12:39 +08:00
parent 0323dcbc80
commit 83d5b79cd1
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ class Api::Pm::PipelinesController < Api::Pm::BaseController
pipeline = Action::Pipeline.find_or_initialize_by(pipeline_name: file.to_s.gsub(".yml", "").gsub(".yaml", ""),
file_name: ".gitea/workflows/#{file}",
branch: project.default_branch,
is_graphic_design: false,
disable: false,
project_id: project.id)
interactor = Repositories::EntriesInteractor.call(@owner, project.identifier, ".gitea/workflows/#{file}", ref: project.default_branch)