ci: adjust Azure Pipelines trigger (#20554)

This commit is contained in:
Joe Haddad 2020-12-28 19:08:08 -05:00 committed by GitHub
parent 8d4cead9fb
commit ec0c70a043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,25 @@
trigger:
# Only run latest commit for branches:
batch: true
# Do not run Azure CI for docs-only/example-only changes:
paths:
include:
- '*'
exclude:
- 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:
include:
- '*'
exclude:
- canary
- master
- refs/tags/*
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
NEXT_TELEMETRY_DISABLED: '1'