forked from Gitlink/forgeplus
fixed 流水线重复生成
This commit is contained in:
parent
0323dcbc80
commit
83d5b79cd1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue