From 07a48990026e8e5a030851afb734f3759dac7fdc Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Tue, 9 Jun 2026 15:06:18 -0700 Subject: [PATCH 1/2] Allow changes to CODEOWNERS from azure-sdk-automation[bot] --- .../pipelines/templates/steps/verify-codeowners-sections.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml b/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml index 229d24f996..9f3755ee07 100644 --- a/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml +++ b/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml @@ -40,8 +40,8 @@ steps: $prAuthor = $prData.user.login Write-Host "PR author: $prAuthor" - if ($prAuthor -ieq "azure-sdk") { - Write-Host "PR opened by azure-sdk. Skipping CODEOWNERS section check." + if ($prAuthor -ieq 'azure-sdk-automation[bot]') { + Write-Host "PR opened by Azure SDK Automation. Skipping CODEOWNERS section check." Write-Host "##vso[task.setvariable variable=ShouldCheckCodeownersEdits]false" exit 0 } From 23510b0eeb35fb34f5f430baa43ef9349b4c637f Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Thu, 11 Jun 2026 15:22:22 -0700 Subject: [PATCH 2/2] More direct naming Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../pipelines/templates/steps/verify-codeowners-sections.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml b/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml index 9f3755ee07..049955e7d3 100644 --- a/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml +++ b/eng/common/pipelines/templates/steps/verify-codeowners-sections.yml @@ -41,7 +41,7 @@ steps: Write-Host "PR author: $prAuthor" if ($prAuthor -ieq 'azure-sdk-automation[bot]') { - Write-Host "PR opened by Azure SDK Automation. Skipping CODEOWNERS section check." + Write-Host "PR opened by azure-sdk-automation[bot]. Skipping CODEOWNERS section check." Write-Host "##vso[task.setvariable variable=ShouldCheckCodeownersEdits]false" exit 0 }