From 55dbe959ba160e1f997ccd46b49c1dc13ba1e11c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:36:09 -0700 Subject: [PATCH] Use sparse checkout for pipeline generator (#39639) Co-authored-by: Ben Broderick Phillips --- eng/common/pipelines/templates/jobs/prepare-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml index 424f587ae1267..9cbabda43285b 100644 --- a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml +++ b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml @@ -23,6 +23,14 @@ jobs: name: azsdk-pool-mms-ubuntu-2204-general vmImage: ubuntu-22.04 steps: + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + Paths: + - 'sdk/**/*.yml' + - '!sdk/**/test-recordings/*' + - '!sdk/**/recordings/*' + - '!sdk/**/SessionRecords/*' + - '!sdk/**/session-records/*' - template: /eng/common/pipelines/templates/steps/install-pipeline-generation.yml - template: /eng/common/pipelines/templates/steps/set-default-branch.yml # This covers our public repos.