Add authenication and nuget feed cofig into yml for fetch and restore… - #1100
Open
v-ochoudhary wants to merge 1 commit into
Open
v-ochoudhary wants to merge 1 commit into
v-ochoudhary wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
🟡 Changes recommended
Clearing existing sources may prevent required packages from restoring unless the configured feed provides the necessary upstreams.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This PR standardizes authenticated NuGet restores across Azure Pipelines.
Changes:
- Adds centralized
src/nuget.config. - Authenticates NuGet feeds before restores.
- Configures restore tasks to use the shared configuration.
- Updates network isolation settings.
File summaries
| File | Description |
|---|---|
src/nuget.config |
Defines the shared package source. |
build/signedbuild.yml |
Updates authenticated signed-build restores. |
build/prbuild.yml |
Updates authenticated PR-build restores. |
build/check-dependencies.yml |
Updates authenticated dependency checks. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Details
This pull request updates the build pipeline configuration to improve NuGet authentication and package restore reliability. The changes ensure all build jobs use a consistent
nuget.configfile and explicitly authenticate to the NuGet feeds before restoring packages.Key changes include:
NuGet Authentication and Restore Improvements:
NuGetAuthenticate@1task before all NuGet restore steps acrossprbuild.yml,signedbuild.yml, andcheck-dependencies.ymlto ensure authenticated access to private feeds. [1] [2] [3] [4] [5] [6]NuGetCommand@2andDotNetCoreCLI@2restore tasks to use a centralized NuGet configuration file (src/nuget.config) by setting thefeedsToUse: configandnugetConfigPathinputs. This ensures consistent and secure package source usage. [1] [2] [3] [4] [5] [6] [7]Configuration and Policy Updates:
src/nuget.configfile specifying thea11y-insights-publicpackage source for all restores.networkIsolationPolicytoPermissive,CFSCleanin build pipeline templates to align with updated security/networking requirements. [1] [2]These changes help standardize package management and improve build reliability across all pipelines.…
Motivation
Fix PR checks failed due to nuget package is not restore.
Pull request checklist