Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

This commit is contained in:
xxq250 2025-02-12 09:07:55 +08:00
commit bb55122a28
1 changed files with 1 additions and 0 deletions

View File

@ -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,