Merge latest from Library.Template#1611
Merged
Merged
Conversation
There is sometimes an issue with the clone/create PR step. When that happens, the stage isn't requeuable because the VSTS upload step fails when its run again because the payload is already there. This update allows the step to clone the VS repo and create the PR to be rerun due to issues independent of the Upload step.
Also remove a task that was duplicated (I think) unnecessarily.
Split the VS PR stage separately from the upload steps
Use explicit UTF-8 appends for GitHub Actions environment files so Linux runners don't hit an invalid empty-name env entry after build. This updates both the general env propagation helper and the pipeline variable definition script. Co-authored-by: 🤖 Copilot <no-reply@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Improve and share github actions env var setting function
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update Microsoft Testing Platform to 2.3.0
Resolve the template merge conflicts by taking the incoming docs_validate workflow updates and the incoming MicrosoftTestingPlatformVersion in Directory.Packages.props. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR merges the latest Library.Template updates into vs-threading to keep CI/CD definitions and shared dependency/tooling versions aligned with the template baseline.
Changes:
- Introduces a
tools/GitHubActions.ps1helper and updates PowerShell scripts to use it when writing GitHub Actions environment variables. - Updates central package/tool versions (e.g., Microsoft Testing Platform, CodeCoverage, Nerdbank.GitVersioning, dotnet tools).
- Updates Azure Pipelines and GitHub Actions definitions (Ubuntu image updates, pipeline job structure tweaks, checkout action update).
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/variables/_define.ps1 | Uses the new helper to write environment variables for GitHub Actions via $GITHUB_ENV. |
| tools/Set-EnvVars.ps1 | Refactors GitHub Actions environment propagation to use the new helper for env vars (and PATH). |
| tools/GitHubActions.ps1 | Adds helper for writing GitHub Actions env vars using the multiline (<<DELIM) format with UTF-8 no BOM. |
| Directory.Packages.props | Bumps MTP and related test infra packages; adds telemetry extension; updates NBGV version. |
| azure-pipelines/vs-validation.yml | Adds network isolation settings, updates Ubuntu image, and splits insertion stage into upload + insertion jobs. |
| azure-pipelines/vs-insertion.yml | Adds network isolation settings and splits insertion stage into upload + insert jobs. |
| azure-pipelines/unofficial.yml | Adds network isolation settings and updates Ubuntu image demand to 24.04. |
| azure-pipelines/release.yml | Adds network isolation settings and updates Ubuntu image demand to 24.04. |
| azure-pipelines/prepare-insertion-stages.yml | Updates Ubuntu image demand to 24.04. |
| azure-pipelines/official.yml | Adds network isolation settings and updates Ubuntu image demand to 24.04. |
| azure-pipelines/libtemplate-update.yml | Adds network isolation settings and updates Ubuntu image demand to 24.04. |
| azure-pipelines/archive-sourcecode.yml | Adds network isolation settings and updates Ubuntu image demand to 24.04. |
| .github/workflows/libtemplate-update.yml | Updates actions/checkout pin to v7.0.0. |
| .github/workflows/docs.yml | Updates actions/checkout pin to v7.0.0. |
| .github/workflows/docs_validate.yml | Updates actions/checkout pin to v7.0.0 and adjusts link-checker arguments/indentation. |
| .github/workflows/copilot-setup-steps.yml | Updates actions/checkout pin to v7.0.0. |
| .github/skills/bundle-dependency-prs/SKILL.md | Adds guidance to comment /azp run after pushing fixes to renovate-authored PRs in microsoft org repos. |
| .config/dotnet-tools.json | Updates PowerShell and nbgv tool versions. |
olegtk
approved these changes
Jul 8, 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.
Why
Keep this repo aligned with the latest Library.Template updates so its GitHub Actions, Azure Pipelines, tooling, and shared dependency versions stay current with the template baseline.
What changed
This merges the latest Library.Template updates into
vs-threading, including workflow and pipeline updates, central package version updates, and the newtools/GitHubActions.ps1helper.The only merge conflicts were resolved in favor of the incoming template changes:
.github/workflows/docs_validate.ymlDirectory.Packages.propsThat keeps the repo on the template's current
actions/checkoutusage and Microsoft Testing Platform version.Validation
dotnet restoretools/dotnet-test-cloud.ps1The test validation passed with 0 failures.