I have a Repository in Azure Repos which has branches as master, build, feature. Build Branch and Feature branches have their own pipelines code in the azure-pipelines.yaml in the branch itself respectively. So that they can have their dedicated pipelines
The problem is that When I commit to the Build branch or in the feature branch then, both the pipelines are triggered.
I have written in my azure-pipelines.yml
trigger:
branches:
include:
- build
exclude:
- feature