Skip to content

Commit

Permalink
remove duplicated webhook trigger (#7511) (#7516)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jul 18, 2019
1 parent d372539 commit 3fd07a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/pull/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func Merge(pr *models.PullRequest, doer *models.User, baseGitRepo *git.Repositor
}

defer func() {
go models.HookQueue.Add(pr.BaseRepo.ID)
go models.AddTestPullRequestTask(doer, pr.BaseRepo.ID, pr.BaseBranch, false)
}()

Expand Down

0 comments on commit 3fd07a0

Please sign in to comment.