diff --git a/vsts/build.yaml b/vsts/build.yaml index f9a3b9d91..717fd2e37 100644 --- a/vsts/build.yaml +++ b/vsts/build.yaml @@ -1,3 +1,13 @@ +trigger: + branches: + include: + - main + +pr: + branches: + include: + - main + resources: - repo: self diff --git a/vsts/dps-e2e.yaml b/vsts/dps-e2e.yaml index 72987cca7..863bc9621 100644 --- a/vsts/dps-e2e.yaml +++ b/vsts/dps-e2e.yaml @@ -1,3 +1,13 @@ +trigger: + branches: + include: + - main + +pr: + branches: + include: + - main + resources: - repo: self #Multi-configuration and multi-agent job options are not exported to YAML. Configure these options using documentation guidance: https://docs.microsoft.com/vsts/pipelines/process/phases diff --git a/vsts/python-e2e.yaml b/vsts/python-e2e.yaml index 7fb8309b3..304036db0 100644 --- a/vsts/python-e2e.yaml +++ b/vsts/python-e2e.yaml @@ -1,3 +1,13 @@ +trigger: + branches: + include: + - main + +pr: + branches: + include: + - main + name: $(BuildID)_$(BuildDefinitionName)_$(SourceBranchName) variables: