diff --git a/.azure/pipelines/ci-public.yml b/.azure/pipelines/ci-public.yml index 64c7b9344a62..a609db7c2eaf 100644 --- a/.azure/pipelines/ci-public.yml +++ b/.azure/pipelines/ci-public.yml @@ -10,10 +10,10 @@ trigger: - main - release/* -# Run PR validation on all branches -# This doesn't have any path exclusions, even for things like docs, because -# we have it configured in GitHub as a required check, and for it to pass -# it must actually run, even if it's not relevant to a particular change. +# Run PR validation on all branches, except for changes that only touch +# documentation or repository metadata, which can't affect the product build. +# When every changed file matches the exclusions below, report-green.yml runs +# instead so that Build Analysis can still report a green required check. pr: autoCancel: true branches: @@ -27,8 +27,8 @@ pr: - .vscode/* - docs/* - '**/*.md' - - LICENSE.TXT - - THIRD-PARTY-NOTICES.TXT + - LICENSE.txt + - THIRD-PARTY-NOTICES.txt parameters: # Choose whether to skip tests when running pipeline manually. diff --git a/.azure/pipelines/quarantined-pr.yml b/.azure/pipelines/quarantined-pr.yml index b9f256ccee1f..3458960c81d8 100644 --- a/.azure/pipelines/quarantined-pr.yml +++ b/.azure/pipelines/quarantined-pr.yml @@ -26,8 +26,8 @@ pr: - .vscode/* - docs/* - '**/*.md' - - LICENSE.TXT - - THIRD-PARTY-NOTICES.TXT + - LICENSE.txt + - THIRD-PARTY-NOTICES.txt schedules: - cron: "0 */4 * * *" diff --git a/.azure/pipelines/report-green.yml b/.azure/pipelines/report-green.yml index 8d43f1c1aae9..64aa271bab49 100644 --- a/.azure/pipelines/report-green.yml +++ b/.azure/pipelines/report-green.yml @@ -18,8 +18,8 @@ pr: - .vscode/* - docs/* - '**/*.md' - - LICENSE.TXT - - THIRD-PARTY-NOTICES.TXT + - LICENSE.txt + - THIRD-PARTY-NOTICES.txt # ABG - Always Be Green jobs: diff --git a/.azure/pipelines/template-tests-pr.yml b/.azure/pipelines/template-tests-pr.yml index 1d615e2aa2ec..9a2e3038704d 100644 --- a/.azure/pipelines/template-tests-pr.yml +++ b/.azure/pipelines/template-tests-pr.yml @@ -21,6 +21,8 @@ pr: - src/Mvc/* - eng/Version.Details.props - eng/Versions.props + exclude: + - '**/*.md' variables: - name: _UseHelixOpenQueues