🔥 3-day streak
Microsoft DevOps Engineer Expert78 / 138
Question 78 of 138

Your team uses an Azure Pipelines YAML pipeline stored in a repository hosted in Azure Repos Git. You want the pipeline to run automatically whenever a pull request targets the 'main' or 'release/*' branches, but the pipeline currently only runs on direct pushes. You add a 'pr' section to the YAML file specifying the branch filters, commit it, but the pipeline still does not trigger when developers open pull requests. What is the most likely cause?

Reviewed for accuracy · Report an issueNext question