diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 806331f0b..0b193ebf9 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -106,6 +106,10 @@ extends: settings: skipBuildTagsForGitHubPullRequests: true sdl: + ${{ if and(eq(variables['Build.DefinitionName'], 'cpp - core'), 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