File tree Expand file tree Collapse file tree
eng/pipelines/templates/jobs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,6 +145,13 @@ jobs:
145145 os : linux
146146
147147 steps :
148+ - template : /eng/common/pipelines/templates/steps/sparse-checkout.yml
149+ parameters :
150+ ${{ if endsWith(variables['Build.Repository.Name'], '-pr') }} :
151+ TokenToUseForAuth : $(azuresdk-github-pat)
152+ Paths :
153+ - ' **'
154+
148155 - template : /eng/pipelines/templates/steps/download-package-artifacts.yml
149156
150157 - template : /eng/pipelines/templates/steps/resolve-package-targeting.yml
@@ -177,6 +184,13 @@ jobs:
177184 os : linux
178185
179186 steps :
187+ - template : /eng/common/pipelines/templates/steps/sparse-checkout.yml
188+ parameters :
189+ ${{ if endsWith(variables['Build.Repository.Name'], '-pr') }} :
190+ TokenToUseForAuth : $(azuresdk-github-pat)
191+ Paths :
192+ - ' **'
193+
180194 - template : /eng/pipelines/templates/steps/download-package-artifacts.yml
181195
182196 - template : /eng/pipelines/templates/steps/resolve-package-targeting.yml
You can’t perform that action at this time.
0 commit comments