diff --git a/.vsts-ci/linux.yml b/.vsts-ci/linux.yml index 943487560e9..e5bb9bfc957 100644 --- a/.vsts-ci/linux.yml +++ b/.vsts-ci/linux.yml @@ -1,4 +1,26 @@ name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) +trigger: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml +pr: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml variables: DOTNET_CLI_TELEMETRY_OPTOUT: 1 POWERSHELL_TELEMETRY_OPTOUT: 1 diff --git a/.vsts-ci/mac.yml b/.vsts-ci/mac.yml index 51bbefc5669..8c0562318b5 100644 --- a/.vsts-ci/mac.yml +++ b/.vsts-ci/mac.yml @@ -1,4 +1,26 @@ name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) +trigger: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml +pr: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml variables: DOTNET_CLI_TELEMETRY_OPTOUT: 1 POWERSHELL_TELEMETRY_OPTOUT: 1 diff --git a/.vsts-ci/spelling.yml b/.vsts-ci/spelling.yml index 2c7b6047abf..b6868b97f17 100644 --- a/.vsts-ci/spelling.yml +++ b/.vsts-ci/spelling.yml @@ -1,4 +1,20 @@ name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) +trigger: + branches: + include: + - master + - release* + paths: + include: + - '*.md' +pr: + branches: + include: + - master + - release* + paths: + include: + - '*.md' resources: - repo: self diff --git a/.vsts-ci/windows.yml b/.vsts-ci/windows.yml index bf26369a1f8..d926bded093 100644 --- a/.vsts-ci/windows.yml +++ b/.vsts-ci/windows.yml @@ -1,4 +1,26 @@ name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) +trigger: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml +pr: + branches: + include: + - master + - release* + paths: + include: + - '*' + exclude: + - /tools/releaseBuild/**/* + - /.vsts-ci/spelling.yml queue: name: Hosted VS2017 parallel: 2 # Limit to two agents at a time