Explanation Use a Pull request trigger. Note: Batch changes Select this check box if you have a lot of team members uploading changes often and you want to reduce the number of builds you are running. If you select this option, when a build is running, the system waits until the build is completed and then queues another build of all changes that have not yet been built. References:https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers