diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index b88364898d..ba01edb06b 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -14,6 +14,10 @@ extends: settings: skipBuildTagsForGitHubPullRequests: true sdl: + ${{ if and(eq(variables['Build.DefinitionName'], 'c - client'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['System.TeamProject'], 'internal')) }}: + autobaseline: + isMainPipeline: true + enableForGitHub: true sourceAnalysisPool: name: azsdk-pool-mms-win-2022-general image: azsdk-pool-mms-win-2022-1espt