Require Templates PR pipeline via internal dev/Templates path gate#6588
Merged
Conversation
Always-run gate diffs the PR; skips build/test/VSIX when dev/Templates unchanged so it can be a required GitHub check without blocking other PRs. Add optional dependsOn/condition params to shared stage templates.
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
DinahK-2SO
force-pushed
the
user/DinahK-2SO/templates-pr-pipeline-policy
branch
from
June 30, 2026 06:15
057002c to
2f35acb
Compare
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
git fetch writes progress to stderr on success; ErrorActionPreference Stop turned that into a terminating NativeCommandError. Use Continue and enforce fail-fast via LASTEXITCODE + throw.
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Templates float Version="*"; print dotnet list package (WindowsAppSDK/SDK.BuildTools) and active .NET SDK before each build so failures name the exact package build and catch regressions in published packages.
Trim the Write-ResolvedPackageVersions comment to four concise lines.
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Pipeline/stage/script parameter (default *) flows to dotnet new --wasdk-version so a failed run can re-run with a pinned version. Fix BlankApp csproj to use the version tokens so pinning actually applies.
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Scenario 7b builds the default * and fails on a broken latest. When a specific WindowsAppSDK version is pinned, skip that one build so the pinned run can go green; default runs still get the early warning.
cannot get version number When version is *, query nuget.org for the latest official version number (no package download from it), scaffold with that exact version (restored from the internal feed), and log it. Fall back to * with a warning if nuget.org is unreachable.
DinahK-2SO
force-pushed
the
user/DinahK-2SO/templates-pr-pipeline-policy
branch
from
July 2, 2026 04:51
38d5f52 to
561bc56
Compare
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
CI cannot reach nuget.org. Query the internal ADO feed (auth via System.AccessToken), exclude prerelease and 2.63.* dev builds, take the highest = latest official. Map System.AccessToken into the smoke-test task.
DinahK-2SO
force-pushed
the
user/DinahK-2SO/templates-pr-pipeline-policy
branch
from
July 2, 2026 06:47
58b75bc to
089ca30
Compare
Contributor
Author
|
/azp run WindowsAppSDK-Templates-PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
lauren-ciha
approved these changes
Jul 2, 2026
DinahK-2SO
enabled auto-merge (squash)
July 4, 2026 13:27
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
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.
Adds WindowsAppSDK-Templates-PR pipeline to "/azp run" with path gate so it can verify GitHub PRs that touch
dev/Templates/**without blocking unrelated PRs.Details:
WindowsAppSDK-Templates-PRpipeline launched, it checks with git diff to see if the current PR changes anything under folderdev/Templates.WindowsAppSDK-Templates-PRwill be passed, and silently skip templates check.WindowsAppSDK-Templates-PRruns with the latest stable version of WindowsAppSDK. Adding a variable (by default = "*") to customize the WindowsAppSDK version on pipeline's launching page, so users can run tests for their target packages (if they want to).