I have a repo on Azure DevOps with three branches, dev
and uat
and prod
. I also have a pipeline whose definition starts like below.
trigger:
branches:
include:
- prod
variables:
...
When I push a change to the prod
branch, this pipeline runs correctly. However, it also runs when I push a change to the dev
or uat
branches. Shouldn’t it be that because I onl specified one branch in include
, only that branch should trigger the pipeline?