Only checkout PerfAutomation from azure-sdk-tools - Other files in azure-sdk-tools repo are unnecessary - Unnecessary checkout hurts perf and increases security footprint (#6801)

Co-authored-by: Mike Harder <mharder@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-10-22 11:26:31 -07:00 committed by GitHub
parent ec6a866996
commit c583f4af14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,9 +105,16 @@ jobs:
- Name: ${{ parameters.LanguageRepoName }}
Commitish: ${{ parameters.LanguageRepoCommitish }}
WorkingDirectory: $(System.DefaultWorkingDirectory)
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
parameters:
Paths:
- 'tools/perf-automation/Azure.Sdk.Tools.PerfAutomation'
Repositories:
- Name: Azure/azure-sdk-tools
Commitish: ${{ parameters.ToolsRepoCommitish }}
WorkingDirectory: $(System.DefaultWorkingDirectory)/azure-sdk-tools
SkipCheckoutNone: true
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
parameters: