My team are using the VSTS Build & Release mechanism, combined with pull request branch safety settings, so that code can only be merged in when a pull request is completed.
We are experiencing something odd though, in that when a pull-request is created (and a build is spawned to prove the commit) - the completion of this build triggered by the pull request also indirectly triggers a release because we have a release trigger setup.
This in itself is probably ok, but then what also happens is upon 'completing' the pull request, another build & release cycle takes place!
Is there a way of making VSTS release triggers only kick in when the pull request is completed and merged into the release branch?
Thank you!