Browse Source

remove duplicated webhook trigger (#7511)

for-closed-social
Lunny Xiao 5 years ago
committed by GitHub
parent
commit
8ea60e7e61
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/pull/merge.go

+ 0
- 1
modules/pull/merge.go View File

@ -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)
}()

Loading…
Cancel
Save