Skip to content

Commit 392c1a0

Browse files
azure-sdkbenbp
andauthored
Remove SkipDefaultCheckout parameter (Azure#31150)
Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent 5a29f2e commit 392c1a0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

eng/common/pipelines/templates/steps/sparse-checkout.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ parameters:
88
- Name: $(Build.Repository.Name)
99
Commitish: $(Build.SourceVersion)
1010
WorkingDirectory: $(System.DefaultWorkingDirectory)
11-
# NOTE: SkipDefaultCheckout is being deprecated in favor of SkipCheckoutNone
12-
- name: SkipDefaultCheckout
13-
type: boolean
14-
default: false
1511
- name: SkipCheckoutNone
1612
type: boolean
1713
default: false
1814

1915
steps:
20-
- ${{ if and(not(parameters.SkipDefaultCheckout), not(parameters.SkipCheckoutNone)) }}:
16+
- ${{ if not(parameters.SkipCheckoutNone) }}:
2117
- checkout: none
2218

2319
- task: PowerShell@2

0 commit comments

Comments
 (0)