Skip to content
代码片段 群组 项目
未验证 提交 f55bcd84 编辑于 作者: Doug Bunting's avatar Doug Bunting 提交者: GitHub
浏览文件

Do not trigger CI builds for changes to doc files (#27484)

* Do not trigger CI builds for changes to doc files
- changes to these files cannot break the build!
- inspired by similar rules in the dotnet/runtime repo

also avoid starting the quarantined-pr pipeline for 2.1 and 3.1 PRs

* No Markdown file should trigger a PR build
上级 4ec47439
No related branches found
No related tags found
无相关合并请求
......@@ -7,10 +7,21 @@ trigger:
batch: true
branches:
include:
- blazor-wasm
- master
- release/*
- internal/release/*
paths:
exclude:
- .github/*
- .vscode/*
# Exclude only a few specific Markdown files because some of them ship.
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- README.md
- SECURITY.md
# Do not ignore the THIRD-PARTY-NOTICES.TXT file because it ships.
# Run PR validation on all branches
pr:
......@@ -18,6 +29,17 @@ pr:
branches:
include:
- '*'
paths:
exclude:
- .github/*
- .vscode/*
- '**/*.md'
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT
variables:
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
......
# We want to run quarantined tests on master as well as on PRs
#
# See https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema for details on this file.
#
# Configure which branches trigger builds
# We want to run quarantined tests on release/5.0 and master as well as on PRs
trigger:
batch: true
branches:
include:
- master
- release/5.0
paths:
exclude:
- .github/*
- .vscode/*
# Exclude only a few specific Markdown files because some of them ship.
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- README.md
- SECURITY.md
# Do not ignore the THIRD-PARTY-NOTICES.TXT file because it ships.
# Run PR validation on branches that include Helix tests
pr:
autoCancel: true
branches:
include:
- release/5.0
- master
paths:
exclude:
- .github/*
- .vscode/*
- '**/*.md'
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT
schedules:
- cron: "0 */4 * * *"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册