We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d283c21 commit f0e77dcCopy full SHA for f0e77dc
eng/common/pipelines/templates/steps/sparse-checkout.yml
@@ -86,7 +86,10 @@ steps:
86
87
# Set non-cone mode otherwise path filters will not work in git >= 2.37.0
88
# See https://github.blog/2022-06-27-highlights-from-git-2-37/#tidbits
89
- git sparse-checkout set --no-cone '/*' '!/*/' '/eng'
+ # '/*' '!/*/' -> only checkout files in top level directory
90
+ # '/eng' -> checkout required eng/ scripts/configs
91
+ # '.config' -> required for files like .config/1espt/PipelineAutobaseliningConfig.yml and .config/guardian/.gdnbaselines used by 1es PT scripts
92
+ git sparse-checkout set --no-cone '/*' '!/*/' '/eng' '/.config'
93
}
94
95
# Prevent wildcard expansion in Invoke-Expression (e.g. for checkout path '/*')
0 commit comments