Skip to content

Conversation

@neilr81
Copy link
Contributor

@neilr81 neilr81 commented Jan 26, 2026

This pull request updates the build and package management workflows to improve reliability and align with current branch naming conventions. The main changes include switching references from master to main, adding a new NuGet configuration file for internal package sources, and ensuring proper restore steps in the build pipeline.

Build and workflow updates:

  • Updated all workflow references from refs/heads/master to refs/heads/main to match the current default branch naming convention. [1] [2]
  • Added a dedicated NuGet restore step using the new NuGet-GitHub.Config file, and ensured all subsequent dotnet commands use --no-restore for efficiency and reliability.

Package management improvements:

  • Introduced a new Nuget.Config file that configures the build to use only the internal Office package feed and disables source control integration for package sources.
  • Updated the GitHub pipeline (.github/pipelines/github-packageupdate.yml) to set the SDK channel to LTS and clarified the display name for package update jobs. [1] [2]

Copilot AI review requested due to automatic review settings January 26, 2026 15:20
Add NuGet configuration file for package management
@github-actions
Copy link

github-actions bot commented Jan 26, 2026

PR Metrics

Thanks for keeping your pull request small.
Thanks for adding tests.

Lines
Product Code -
Test Code -
Subtotal -
Ignored Code 36
Total 36

Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs!

@github-actions github-actions bot changed the title Adding separate Nuget.Config for GitHub XS✔ ◾ Adding separate Nuget.Config for GitHub Jan 26, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a dedicated NuGet configuration file intended for use in GitHub environments to ensure that nuget.org is available as a package source, overriding any restrictive global configuration.

Changes:

  • Introduced NuGet-GitHub.Config with nuget.org as the sole package source.
  • Cleared disabled package sources and package sources to avoid interference from machine/global configs.
  • Explicitly disabled automatic package restore (primarily a Visual Studio behavior), keeping the file focused on source configuration.

@neilr81
Copy link
Contributor Author

neilr81 commented Jan 26, 2026

@copilot update GitHub workflows to use Nuget-Github.Config for package restore tasks.

Copy link
Contributor

Copilot AI commented Jan 26, 2026

@neilr81 I've opened a new pull request, #790, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits January 26, 2026 15:42
…tore (#790)

* Initial plan

* Update GitHub workflow to use NuGet-GitHub.Config for package restore

Co-authored-by: neilr81 <49037171+neilr81@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: neilr81 <49037171+neilr81@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 26, 2026 16:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 26, 2026 16:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

@neilr81 neilr81 marked this pull request as ready for review January 26, 2026 16:49
@neilr81 neilr81 requested a review from a team as a code owner January 26, 2026 16:49
Copilot AI review requested due to automatic review settings January 26, 2026 16:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

@neilr81 neilr81 enabled auto-merge (squash) January 26, 2026 16:53
Copilot AI review requested due to automatic review settings January 26, 2026 21:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Added NuGet-GitHub.Config to the solution file.
@neilr81 neilr81 merged commit 880f3bb into main Jan 27, 2026
7 checks passed
@neilr81 neilr81 deleted the bugfix/test-config branch January 27, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants