|
|
|
@@ -46,6 +46,7 @@ class Api::V1::Projects::Actions::ActionsController < Api::V1::Projects::Actions |
|
|
|
Rails.logger.info("#{file}不能识别流水线类型") |
|
|
|
end |
|
|
|
@result << { |
|
|
|
filename: file, |
|
|
|
name: file.to_s.gsub(".yml","").gsub(".yaml","") , |
|
|
|
branch: last_action_run.present? ? last_action_run.ref.gsub("refs/heads/","") : @project.default_branch, |
|
|
|
pipeline_type: pipeline_type, |
|
|
|
|