How to mske TeamCity trigger a build only for PRs to master branch?

273 views Asked by At

I've configured build with the following branch specification:

-:<default> +:refs/pull/*/merge

But such specification makes TC to trigger build for any PR, though I need this only for PRs to master.

Is it possible to achieve?

1

There are 1 answers

0
nils1k On BEST ANSWER

If my understanding of what you wish to achieve is correct, then unfortunately it is not possible at the moment. There has been a feature request for this in YouTrack for quite some time.