Skip to content

Commit

Permalink
Exclude all markdown files from triggering CI (#68221)
Browse files Browse the repository at this point in the history
* Exclude all markdown files from triggering CI

Since 08/09/2021 it's now possible to use wild cards in exclusion patterns: https://docs.microsoft.com/en-us/azure/devops/release-notes/2021/sprint-192-update#support-for-wild-cards-in-path-filters.

Fixing our exclude yml statements to ignore all markdown files in the repo and not just the ones under docs/.
ViktorHofer authored Apr 20, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent e3442b4 commit 76e9996
Showing 10 changed files with 15 additions and 57 deletions.
5 changes: 1 addition & 4 deletions eng/pipelines/coreclr/ci.yml
Original file line number Diff line number Diff line change
@@ -8,14 +8,11 @@ trigger:
- '*'
- src/libraries/System.Private.CoreLib/*
exclude:
- /**/*.md
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT
- src/installer/*
- src/libraries/*
5 changes: 1 addition & 4 deletions eng/pipelines/coreclr/perf.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,11 @@ trigger:
- '*'
- src/libraries/System.Private.CoreLib/*
exclude:
- /**/*.md
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

variables:
7 changes: 2 additions & 5 deletions eng/pipelines/coreclr/perf_slow.yml
Original file line number Diff line number Diff line change
@@ -8,14 +8,11 @@ trigger:
- '*'
- src/libraries/System.Private.CoreLib/*
exclude:
- /**/*.md
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

variables:
@@ -240,4 +237,4 @@ jobs:
# projectFile: crossgen_perf.proj
# runKind: crossgen_scenarios
# runJobTemplate: /eng/pipelines/coreclr/templates/run-scenarios-job.yml
# logicalmachine: 'perfsurf'
# logicalmachine: 'perfsurf'
5 changes: 1 addition & 4 deletions eng/pipelines/global-build.yml
Original file line number Diff line number Diff line change
@@ -15,17 +15,14 @@ pr:
- docs/manpages/*
- eng/pipelines/global-build.yml
exclude:
- /**/*.md
- .github/*
- docs/*
- eng/pipelines/coreclr/*.*
- eng/pipelines/libraries/*.*
- eng/pipelines/installer/*.*
- eng/pipelines/*.*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

jobs:
10 changes: 2 additions & 8 deletions eng/pipelines/runtime-linker-tests.yml
Original file line number Diff line number Diff line change
@@ -10,15 +10,12 @@ trigger:
include:
- '*'
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

schedules:
@@ -38,15 +35,12 @@ pr:
include:
- '*'
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

jobs:
5 changes: 1 addition & 4 deletions eng/pipelines/runtime-official.yml
Original file line number Diff line number Diff line change
@@ -10,14 +10,11 @@ trigger:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

# This is an official pipeline that should not be triggerable from a PR,
5 changes: 1 addition & 4 deletions eng/pipelines/runtime-richnav.yml
Original file line number Diff line number Diff line change
@@ -8,15 +8,12 @@ trigger:
include:
- '*'
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

pr: none
10 changes: 2 additions & 8 deletions eng/pipelines/runtime-staging.yml
Original file line number Diff line number Diff line change
@@ -11,15 +11,12 @@ trigger:
include:
- '*'
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

schedules:
@@ -40,15 +37,12 @@ pr:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

variables:
10 changes: 2 additions & 8 deletions eng/pipelines/runtime.yml
Original file line number Diff line number Diff line change
@@ -12,15 +12,12 @@ trigger:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

schedules:
@@ -41,15 +38,12 @@ pr:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

variables:
10 changes: 2 additions & 8 deletions eng/pipelines/runtimelab.yml
Original file line number Diff line number Diff line change
@@ -12,15 +12,12 @@ trigger:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

pr:
@@ -32,15 +29,12 @@ pr:
- '*'
- docs/manpages/*
exclude:
- /**/*.md
- eng/Version.Details.xml
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

variables:

0 comments on commit 76e9996

Please sign in to comment.