Skip to content

Merge latest from Library.Template#1611

Merged
AArnott merged 28 commits into
mainfrom
dev/andarno/libtemplateUpdate
Jul 8, 2026
Merged

Merge latest from Library.Template#1611
AArnott merged 28 commits into
mainfrom
dev/andarno/libtemplateUpdate

Conversation

@AArnott

@AArnott AArnott commented Jul 7, 2026

Copy link
Copy Markdown
Member

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 new tools/GitHubActions.ps1 helper.

The only merge conflicts were resolved in favor of the incoming template changes:

  • .github/workflows/docs_validate.yml
  • Directory.Packages.props

That keeps the repo on the template's current actions/checkout usage and Microsoft Testing Platform version.

Validation

  • dotnet restore
  • tools/dotnet-test-cloud.ps1

The test validation passed with 0 failures.

pieandcakes and others added 28 commits October 13, 2025 15:32
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>
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>
Copilot AI review requested due to automatic review settings July 7, 2026 22:05

Copilot AI left a comment

Copy link
Copy Markdown

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 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.ps1 helper 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.

Comment thread tools/Set-EnvVars.ps1
Comment thread azure-pipelines/vs-validation.yml
@AArnott AArnott enabled auto-merge July 7, 2026 23:50
@AArnott AArnott merged commit ac8da21 into main Jul 8, 2026
11 checks passed
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch July 8, 2026 00:16
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.

4 participants