mirror of
https://github.com/go-gitea/gitea
synced 2024-12-19 00:25:24 +01:00
remove duplicated webhook trigger (#7511)
This commit is contained in:
parent
c5f9c04186
commit
8ea60e7e61
1 changed files with 0 additions and 1 deletions
|
@ -49,7 +49,6 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor
|
||||||
}
|
}
|
||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
go models.HookQueue.Add(pr.BaseRepo.ID)
|
|
||||||
go models.AddTestPullRequestTask(doer, pr.BaseRepo.ID, pr.BaseBranch, false)
|
go models.AddTestPullRequestTask(doer, pr.BaseRepo.ID, pr.BaseBranch, false)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue