mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Move commit repo action from models to repofiles package (#7645)
* move commit repo action from models to repofiles package * fix unit tests
This commit is contained in:
@ -497,7 +497,7 @@ func PushUpdate(repo *models.Repository, branch string, opts models.PushUpdateOp
|
||||
commits = models.ListToPushCommits(l)
|
||||
}
|
||||
|
||||
if err := models.CommitRepoAction(models.CommitRepoActionOptions{
|
||||
if err := CommitRepoAction(CommitRepoActionOptions{
|
||||
PusherName: opts.PusherName,
|
||||
RepoOwnerID: repo.OwnerID,
|
||||
RepoName: repo.Name,
|
||||
|
Reference in New Issue
Block a user