mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 21:04:55 +02:00
...
This commit is contained in:
1 parent
de0d8da7b6
commit
4a9a54e2df
3 files changed
+13
No files matched your search
@@ -356,6 +356,12 @@ func ReqChangeRepoFileOptionsAndCheck(ctx *context.APIContext) {
|
||||
OldBranch: commonOpts.BranchName,
|
||||
NewBranch: commonOpts.NewBranchName,
|
||||
ForcePush: commonOpts.ForcePush,
|
||||
ActionsTaskID: func() int64 {
|
||||
if ctx.Data["ActionsTaskID"] != nil {
|
||||
return ctx.Data["ActionsTaskID"].(int64)
|
||||
}
|
||||
return 0
|
||||
}(),
|
||||
Committer: &files_service.IdentityOptions{
|
||||
GitUserName: commonOpts.Committer.Name,
|
||||
GitUserEmail: commonOpts.Committer.Email,
|
||||
|
||||
Reference in new issue
Block a user