Fix workflow tool restore with package source mapping - #1338
Merged
Conversation
Co-authored-by: joseharriaga <45773732+joseharriaga@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
joseharriaga
August 25, 2026 21:54
View session
Copilot stopped work on behalf of
joseharriaga due to an error
August 25, 2026 22:33
joseharriaga
marked this pull request as ready for review
August 25, 2026 22:43
joseharriaga
requested review from
MaiLinhP,
jairmyree and
jsquire
as code owners
August 25, 2026 22:43
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes GitHub Actions workflow failures caused by using dotnet tool restore --add-source in a repo that already enforces NuGet package source mapping via nuget.config. It standardizes tool restore across workflows to rely on the repository-configured feeds and mappings.
Changes:
- Removed the Azure SDK
--add-sourceoverride from tool restore steps in release and test workflows. - Restored tools using plain
dotnet tool restoreto comply withnuget.configpackage source mapping.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Removes --add-source from dotnet tool restore to avoid source mapping conflicts during release runs. |
| .github/workflows/record-test.yml | Removes --add-source from dotnet tool restore so Record-mode tests restore tools via mapped sources. |
| .github/workflows/live-test.yml | Removes --add-source from dotnet tool restore so Live/Playback test workflow uses repo feed mappings. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
joseharriaga
approved these changes
Aug 25, 2026
jsquire
approved these changes
Aug 25, 2026
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.
Release and test workflows fail before build because
dotnet tool restore --add-sourceconflicts with package source mapping innuget.config.--add-sourceoverrides from release, live-test, and record-test workflows.