[release/6.0] Remove artifact-feed PAT from asset publishing - #17244
Merged
missymessa merged 1 commit intoAug 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes cross-organization Azure Artifacts PAT injection from the release/6.0 “Publish Build Assets” job templates, relying on existing NuGetAuthenticate@1 for restore authentication while eliminating an unnecessary secret/variable-group dependency.
Changes:
- Removed the
AzureDevOps-Artifact-Feeds-Patsvariable-group reference from the publish-build-assets job templates. - Removed the
enable-cross-org-publishing.ps1 -token $(dn-bot-all-orgs-artifact-feeds-rw)step from both the standard and official templates. - Kept
NuGetAuthenticate@1in place for toolset restore authentication.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/common/templates/job/publish-build-assets.yml | Removes PAT variable group and cross-org feed auth script invocation from the publish assets job. |
| eng/common/templates-official/job/publish-build-assets.yml | Mirrors the same PAT/script removal in the official template variant. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mmitche
approved these changes
Aug 4, 2026
missymessa
enabled auto-merge (squash)
August 4, 2026 18:09
Member
Author
|
/azp run arcade-pr |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the
dn-bot-all-orgs-artifact-feeds-rwPAT from the release/6.0 asset-publishing templates.AzureDevOps-Artifact-Feeds-Patsvariable-group linkenable-cross-org-publishing.ps1 -token $(dn-bot-all-orgs-artifact-feeds-rw)NuGetAuthenticate@1for the toolset restoreEvidence
The last successful release/6.0 official build that executed this job was dnceng/internal build 2885007. Its
Publish Build Assetstask restoredMicrosoft.DotNet.Arcade.Sdk6.0.0-beta.25160.3 and ranPublishBuildAssets; the log contains no DevDiv package operation, 401, or 403. The branch'sNuGet.configcontains dnceng public feeds plus the public azure-publicvs-buildservicesfeed, and no DevDiv source. The cross-org PAT injection is therefore not needed for this job;NuGetAuthenticate@1remains in place.The managed secret is intentionally retained in the vault manifest until the remaining branches/consumers are cleaned up.
Related: https://dnceng.visualstudio.com/internal/_workitems/edit/10145