From b306f2a973591b6b394517514f520862600e413e Mon Sep 17 00:00:00 2001 From: Missy Messa Date: Fri, 29 May 2026 11:53:20 -0700 Subject: [PATCH] [release/10.0] Remove legacyCredential PAT usage from enable-internal-sources calls Backport of main PR dotnet/arcade#16920. The enable-internal-sources.yml template already handles DevDiv projects by using the 'dnceng-artifacts-feeds-read' federated service connection. Fixes AB#10143 --- eng/common/core-templates/job/publish-build-assets.yml | 3 --- eng/common/core-templates/post-build/post-build.yml | 2 -- 2 files changed, 5 deletions(-) diff --git a/eng/common/core-templates/job/publish-build-assets.yml b/eng/common/core-templates/job/publish-build-assets.yml index 06f2eed0323..53af522d6d4 100644 --- a/eng/common/core-templates/job/publish-build-assets.yml +++ b/eng/common/core-templates/job/publish-build-assets.yml @@ -122,9 +122,6 @@ jobs: # Populate internal runtime variables. - template: /eng/common/templates/steps/enable-internal-sources.yml - ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}: - parameters: - legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw) - template: /eng/common/templates/steps/enable-internal-runtimes.yml diff --git a/eng/common/core-templates/post-build/post-build.yml b/eng/common/core-templates/post-build/post-build.yml index 905a6315e2d..135fc9a5051 100644 --- a/eng/common/core-templates/post-build/post-build.yml +++ b/eng/common/core-templates/post-build/post-build.yml @@ -352,8 +352,6 @@ stages: # Populate internal runtime variables. - template: /eng/common/templates/steps/enable-internal-sources.yml - parameters: - legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw) - template: /eng/common/templates/steps/enable-internal-runtimes.yml