Browse Source

fixed 组织流水线列表接口

pull/348/head^2^2
xxq250 1 year ago
parent
commit
b74d7c8166
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/pm/pipelines_controller.rb

+ 1
- 1
app/controllers/api/pm/pipelines_controller.rb View File

@@ -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…
Cancel
Save