Disable Azure Pipelines PR validation (PR testing moved to GitHub Actions)#1742
Draft
jevansaks wants to merge 1 commit into
Draft
Disable Azure Pipelines PR validation (PR testing moved to GitHub Actions)#1742jevansaks wants to merge 1 commit into
jevansaks wants to merge 1 commit into
Conversation
…ions) The azure-public 'microsoft.CsWin32' pipeline (azure-pipelines.yml) has no 'pr:' block, so Azure DevOps enables GitHub PR validation by default and keeps queuing a build / posting a status check on every PR. PR testing has moved to GitHub Actions (.github/workflows/build.yml), which runs more of the test matrix and works on forks. Set 'pr: none' so this pipeline no longer builds PRs; CI on main/v*/validate and release builds are unaffected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
The
azure-publicmicrosoft.CsWin32pipeline (azure-pipelines.yml) has atrigger:(CI) block but nopr:block. For GitHub-backed YAML pipelines, Azure DevOps enables PR validation by default whenpr:is omitted, so it keeps queuing a build and posting amicrosoft.CsWin32status check on every pull request.PR testing has moved to GitHub Actions (
.github/workflows/build.yml), which runs more of the test matrix and works on forks. This setspr: noneso the Azure Pipelines pipeline no longer builds PRs.Effect
main,v*.*, andvalidate/*is unchanged (thetrigger:block above is untouched).Note on timing
Azure DevOps evaluates PR triggers from the YAML in the target branch (
main), sopr: nonetakes effect for PRs opened after this merges. To silence in-flight PRs immediately, disable PR validation in the pipeline's Triggers UI (Override the YAML pull request trigger from here → Disable pull request validation).