1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

Add test pull request task on merging a PR. Fixes #3396 (#3425)

This commit is contained in:
lstahlman 2016-08-10 11:38:44 -07:00 committed by 无闻
parent 99812a80fd
commit ea192147ea

View File

@ -253,6 +253,7 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository) (err error
return fmt.Errorf("PrepareWebhooks: %v", err)
}
go HookQueue.Add(pr.BaseRepo.ID)
go AddTestPullRequestTask(pr.BaseRepo.ID, pr.BaseBranch)
return nil
}