fix(server): prefix manual trigger Ref with refs/heads/ (#7051)

This commit is contained in:
You ChangDing
2026-08-21 08:12:26 +02:00
committed by GitHub
parent 701e1e0338
commit 368daba646
+1 -1
View File
@@ -100,7 +100,7 @@ func createTmpPipeline(event model.WebhookEvent, commit *model.Commit, user *mod
Avatar: user.Avatar,
Message: "MANUAL PIPELINE @ " + opts.Branch,
Ref: opts.Branch,
Ref: "refs/heads/" + opts.Branch,
AdditionalVariables: opts.Variables,
Author: user.Login,