Constrain legacy CI to main and legacy branches
This should hopefully also prevent the legacy CI from triggering when
changes to eng/config.json are made.
# This builds only track 1 SDKs. See eng\pipelines\templates\steps\build.yml for track 2.
trigger:
+ branches:
+ include:
+ - main
+ - legacy
paths:
exclude:
- sdk/
@@ -8,6 +12,10 @@ trigger:
- eng/config.json
pr:
+ branches:
+ include:
+ - main
+ - legacy
paths:
exclude:
- sdk/
