Browse Source

fixed 图形化流水线增加分支流程-提交信息

pull/347/head
xxq250 1 year ago
parent
commit
3ba6259d9f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/projects/pipelines_controller.rb

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

@@ -153,7 +153,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
branch: @pipeline.branch,
new_branch: @pipeline.branch,
content: opt == "create" ? Base64.encode64(@pipeline.yaml).gsub(/\n/, '') : @pipeline.yaml,
message: "#{opt} pipeline",
message: opt == "create" ? "创建流水线:#{@pipeline.pipeline_name}" : "修改流水线:#{@pipeline.pipeline_name}",
committer: {
email: current_user.mail,
name: current_user.login


Loading…
Cancel
Save