fixed 组织流水线列表接口
This commit is contained in:
parent
d540dadb22
commit
b74d7c8166
|
@ -15,7 +15,7 @@ class Api::Pm::PipelinesController < Api::Pm::BaseController
|
|||
@run_result = []
|
||||
run_files.each do |file_info|
|
||||
file = file_info.workflow_id
|
||||
project = Project.find_by(gpid: file.repo_id)
|
||||
project = Project.find_by(gpid: file_info.repo_id)
|
||||
next if project.blank?
|
||||
unless db_files.include?(".gitea/workflows/#{file}")
|
||||
pipeline = Action::Pipeline.new(pipeline_name: file.to_s.gsub(".yml", "").gsub(".yaml", ""),
|
||||
|
|
Loading…
Reference in New Issue