Since TeamCity 2018.2, the GitHub pull requests build feature lets you automatically load GitHub pull requests information and run builds on pull request branches. The build feature extends your original branch specification to include pull requests that match the filtering criteria below. The branch specification of your VCS Root must not contain patterns matching pull request branches.
Pull requests can be filtered by target branch as well as by author.
You can choose to build
- PRs coming from the members of the same organization only
- PRs from the members and all external collaborators
- PRs from everybody
After a build is run on a pull request, TeamCity will provide additional details for the pull request branch on the build overview page.