I am facing an issue with TeamCity's change detection when dealing with pull requests (pull/*/head). It seems that TeamCity is incorrectly identifying the list of changes, leading to unnecessary trigger activations when we intend to specify masks for modified files.
Here's a specific scenario to illustrate the problem: when changes are pushed to the master branch, including modifications to a CPP file, and we subsequently create a PR from that branch (for example only with one XML), TeamCity incorrectly reports that the PR also contains changes to CPP files.
Ideally, when a build is triggered, TeamCity should correctly identify the revision of the branch from which the PR was created.
Is this normal behavior or a bug?
Thank you in advance for your support.