mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-07 21:51:42 +08:00
fixed 组织流水线列表接口
This commit is contained in:
@@ -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", ""),
|
||||
|
||||
Reference in New Issue
Block a user