diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 11de5bce016a..008c8f15e765 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,10 +6,10 @@ trigger: include: - '*' exclude: - - bench/* - - docs/* - - errors/* - - examples/* + - bench + - docs + - errors + - examples # Do not run Azure on `canary`, `master`, or release tags. This unnecessarily # increases the backlog, and the change was already tested on the PR. branches: @@ -20,6 +20,17 @@ trigger: - master - refs/tags/* +pr: + # Do not run Azure CI for docs-only/example-only changes: + paths: + include: + - '*' + exclude: + - bench + - docs + - errors + - examples + variables: YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn NEXT_TELEMETRY_DISABLED: '1'