From fcb0a3e68d7e9094714111be6e99a96ea890b384 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 19:13:24 +0000 Subject: [PATCH 1/2] Initial plan From 4d94eaafa64a29d54282b42f491cc4dec51a82f5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 19:16:52 +0000 Subject: [PATCH 2/2] Add repo name check to docs release jobs to exclude -pr repos Co-authored-by: danieljurek <2158838+danieljurek@users.noreply.github.com> --- eng/pipelines/templates/stages/archetype-python-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/templates/stages/archetype-python-release.yml b/eng/pipelines/templates/stages/archetype-python-release.yml index af224ffebe08..ff3347a1b187 100644 --- a/eng/pipelines/templates/stages/archetype-python-release.yml +++ b/eng/pipelines/templates/stages/archetype-python-release.yml @@ -222,7 +222,7 @@ stages: - ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}: - job: PublishGitHubIODocs displayName: Publish Docs to GitHubIO Blob Storage - condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) + condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'), not(endsWith(variables['Build.Repository.Name'], '-pr'))) dependsOn: PublishPackage pool: @@ -260,7 +260,7 @@ stages: - ${{if ne(artifact.skipPublishDocMs, 'true')}}: - job: PublishDocs displayName: Docs.MS Release - condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true')) + condition: and(succeeded(), ne(variables['Skip.PublishDocs'], 'true'), not(endsWith(variables['Build.Repository.Name'], '-pr'))) dependsOn: PublishPackage pool: @@ -383,7 +383,7 @@ stages: - job: PublishDocsToNightlyBranch dependsOn: PublishPackages - condition: and(succeeded(), or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))) + condition: and(succeeded(), or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))), not(endsWith(variables['Build.Repository.Name'], '-pr'))) pool: image: ubuntu-24.04 name: azsdk-pool