diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 4cdcb3979acbd002e0713124ab701a31926aec93..e985fbdb47be131c164e48223edd73f203b1be3d 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -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 diff --git a/.azure/pipelines/quarantined-pr.yml b/.azure/pipelines/quarantined-pr.yml index d09ba4bc35a784e536d15f01c301cc5edf20b720..3802241b70b1ed2c7b4bcc56119c232b74063dc0 100644 --- a/.azure/pipelines/quarantined-pr.yml +++ b/.azure/pipelines/quarantined-pr.yml @@ -1,9 +1,46 @@ -# 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 * * *"