Browse Source

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

tags/v1.21.12.1
lstahlman 无闻 9 years ago
parent
commit
ea192147ea
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/pull.go

+ 1
- 0
models/pull.go 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
}



Loading…
Cancel
Save