mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
fixed 图形化流水线增加分支流程-提交信息
This commit is contained in:
@@ -153,7 +153,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
|
|||||||
branch: @pipeline.branch,
|
branch: @pipeline.branch,
|
||||||
new_branch: @pipeline.branch,
|
new_branch: @pipeline.branch,
|
||||||
content: opt == "create" ? Base64.encode64(@pipeline.yaml).gsub(/\n/, '') : @pipeline.yaml,
|
content: opt == "create" ? Base64.encode64(@pipeline.yaml).gsub(/\n/, '') : @pipeline.yaml,
|
||||||
message: "#{opt} pipeline",
|
message: opt == "create" ? "创建流水线:#{@pipeline.pipeline_name}" : "修改流水线:#{@pipeline.pipeline_name}",
|
||||||
committer: {
|
committer: {
|
||||||
email: current_user.mail,
|
email: current_user.mail,
|
||||||
name: current_user.login
|
name: current_user.login
|
||||||
|
|||||||
Reference in New Issue
Block a user