Browse Source

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

pull/3432/head
lstahlman 9 years ago committed by 无闻
parent
commit
ea192147ea
  1. 1
      models/pull.go

1
models/pull.go

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

Loading…
Cancel
Save