Reputation: 905
I've created a YAML pipeline on a branch and tested it from that branch. I subsequently merged it into master and deleted the branch. But the original branch keeps appearing as the default for the pipeline. How can I change the default value to "master"?
There is nothing in the YAML to define the default branch. This appears to be some configuration item in Azure Pipelines.
Upvotes: 4
Views: 4689
Reputation: 1055
Go to Pipeline runs and click on Edit
then to Options -> Triggers
:
Open YAML
tab and here you can change default branch:
Upvotes: 22