What I have to do is, I have 1 branch as below in the azure DevOps respository
- dev
Then I create a new branch as dev-C123456, so now I have two branches (dev
and dev-C123456
)
Then I do some changes to dev-C123456
and I create a Pull Request from dev-C123456
to dev
. So once the changes are reviewed, the approver will Approve
and Complete
the pull request.
Right after he clicks Completes, I want a pipeline to run.
Here's my
And I have a auzre-piplines-on-pr.yml
which will trigger the pipeline. For example, in dev branch, I have like this;
pr:
branches:
include:
- dev
...
But it never triggers a pipeline, what should I do?