0

Is there a way to just specify that a pipeline runs on the PR branch? I am fairly new to Azure Devops Pipeline YAML.

Currently the trigger is:

trigger:
- master
Sole
  • 3,100
  • 14
  • 58
  • 112

1 Answers1

0

It seems it can be done via:

trigger:
  branches:
    include:
    - features/*

https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&tabs=yaml#ci-triggers

Sole
  • 3,100
  • 14
  • 58
  • 112