Sparse checkout 1espt auto-baselining file by default (#6371)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
076452e183
commit
3e3c0cedf9
@ -86,7 +86,10 @@ steps:
|
||||
|
||||
# Set non-cone mode otherwise path filters will not work in git >= 2.37.0
|
||||
# See https://github.blog/2022-06-27-highlights-from-git-2-37/#tidbits
|
||||
git sparse-checkout set --no-cone '/*' '!/*/' '/eng'
|
||||
# '/*' '!/*/' -> only checkout files in top level directory
|
||||
# '/eng' -> checkout required eng/ scripts/configs
|
||||
# '.config' -> required for files like .config/1espt/PipelineAutobaseliningConfig.yml and .config/guardian/.gdnbaselines used by 1es PT scripts
|
||||
git sparse-checkout set --no-cone '/*' '!/*/' '/eng' '/.config'
|
||||
}
|
||||
|
||||
# Prevent wildcard expansion in Invoke-Expression (e.g. for checkout path '/*')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user