ci: Change so the CI is not triggered if only docs files are changed

This commit is contained in:
Agnès Zitte 2022-05-19 21:44:12 -04:00
Родитель 54eaeddbaa
Коммит 77d41e9818
1 изменённых файлов: 33 добавлений и 1 удалений

Просмотреть файл

@ -1,4 +1,36 @@
variables:
trigger:
branches:
include:
- master
- stable
- release/stable/*
paths:
include:
- '/'
exclude:
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
pr:
branches:
include:
- master
- stable
- release/stable/*
paths:
include:
- '/'
exclude:
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
variables:
# Path where packages (nuget or app packages) will be copied to.
PackageOutputPath: $(Build.ArtifactStagingDirectory)