From 54bb09b88ada78311368883eb5617d062d745472 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Fri, 23 Apr 2021 16:09:32 -0700 Subject: [PATCH] Added cplat branch and exclude it in code verification (#20637) * Added cplat branch and exclude it in code verification * Remove Steve from mgmt code owner --- .github/CODEOWNERS | 4 ++-- eng/pipelines/mgmt.yml | 1 + eng/pipelines/templates/jobs/ci.mgmt.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f65ac187742c..54eb5f710835 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -599,8 +599,8 @@ sdk/trafficmanager/Microsoft.Azure.Management.TrafficManager/ @tmsupp # ######## Management Plane ######## -/**/*Management*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @bquantump @nisha-bhatia -/**/Azure.ResourceManager*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @bquantump @nisha-bhatia +/**/*Management*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @nisha-bhatia +/**/Azure.ResourceManager*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @nisha-bhatia # Reviewers to double check any API changes /sdk/**/api/ @KrzysztofCwalina @tg-msft diff --git a/eng/pipelines/mgmt.yml b/eng/pipelines/mgmt.yml index 087d2195863a..0577a81b9d55 100644 --- a/eng/pipelines/mgmt.yml +++ b/eng/pipelines/mgmt.yml @@ -4,6 +4,7 @@ pr: include: - master - '*-preview' + - 'feature/cplat*' paths: include: - Directory.Build.props diff --git a/eng/pipelines/templates/jobs/ci.mgmt.yml b/eng/pipelines/templates/jobs/ci.mgmt.yml index f5abdf37a8bb..bf26fe37b904 100644 --- a/eng/pipelines/templates/jobs/ci.mgmt.yml +++ b/eng/pipelines/templates/jobs/ci.mgmt.yml @@ -12,7 +12,7 @@ jobs: displayName: "Build & Package" - task: PowerShell@2 displayName: "Verify generated code" - condition: and(succeeded(), ne(variables['System.TeamProject'],'internal')) + condition: and(succeeded(), ne(variables['System.TeamProject'],'internal'), not(contains(variables['System.PullRequest.TargetBranch'], 'feature/cplat'))) inputs: filePath: "eng/scripts/Track1CodeCheck.ps1" pwsh: true