Add branch creation rules and update pipeline triggers - #16384
Merged
Vladimir Morozov (vmoroz) merged 1 commit intoAug 21, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds branch-creation governance and aligns Azure pipelines with documented supported branches.
Changes:
- Adds a namespaced-branch ruleset and operational documentation.
- Synchronizes CI, PR, release, and prepare-release branch filters.
- Updates integration branches to use
integrate/….
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.config/1espt/PipelineAutobaseliningConfig.yml |
Unrelated no-op rewrite. |
.ado/repo-rules/README.md |
Documents ruleset management. |
.ado/repo-rules/branch-namespace-ruleset.json |
Defines allowed branch namespaces. |
.ado/README.md |
Documents supported branches. |
.ado/ci-pipeline.yml |
Updates CI branches. |
.ado/pr-pipeline.yml |
Updates PR target branches. |
.ado/release-pipeline.yml |
Updates release triggers. |
.ado/prepare-release-bot.yml |
Adds YAML triggers and target options. |
.ado/integrate-rn.yaml |
Uses the integrate/ namespace. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Vladimir Morozov (vmoroz)
enabled auto-merge (squash)
August 21, 2026 22:51
Nikolai Aristov (NikoAri)
approved these changes
Aug 21, 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.
Description
Type of Change
Why
We want the repository's branch list to stay clean and the pipelines to target a
deliberate, documented set of branches. Until now anyone could create a top-level
branch, and the pipelines still referenced
0.82-stable, which we are retiring.This change adds a branch-creation policy and pins the pipelines to the branches we
actually support. It builds on the recent
.adopipeline work (#16379).What
Branch-creation ruleset (
.ado/repo-rules/). A checked-in GitHub repositoryruleset that only allows new branches under approved namespaces (
user/<alias>/…for personal work, plus tooling namespaces like
dependabot/,copilot/,prepare-release/,integrate/,cherry-pick/,*-stable, and so on). It iscreation-only, so existing branches and pushes are unaffected. The folder README
has the apply/update/rollback commands and documents the pattern-matching
gotchas. Keeping it in the repo gives the live policy a reviewable history.
Supported branch set in the pipelines. All pipelines that list branches use
the same set —
main+0.81/0.83/0.84/0.85/0.86/0.87-stable. CI and Releasedrop
0.82-stable; the PR pipeline is set to that explicit list (its former*-stablewildcard andmasterare removed); the prepare-release bot now has aYAML CI
triggeron that set (moved out of the ADO UI) and itstargetBranchdropdown drops
0.82/0.80/0.74and adds0.83–0.87.Docs (
.ado/README.md). A new "Supported branches" table is the source oftruth for the set, with per-pipeline notes and a pointer to the branch-creation
ruleset. Each branch list carries a "keep in sync" comment back to it.
Integration pipeline namespace fix.
integrate-rn.yamlnow pushes its branchas
integrate/<version>instead of the top-levelintegrate-<version>, so itstays within the namespaces the new ruleset allows.
Testing
The ruleset patterns were verified against real branch names with the same
fnmatchengine GitHub uses, then applied and smoke-tested live (a top-level pushwas rejected; a
user/…push was accepted). Pipeline YAML changes are limited totrigger branch lists and were validated locally.
Changelog
Should this change be included in the release notes: no
Internal CI/pipeline and repository-policy change; retires the
0.82-stablebranchfrom the build pipelines.
Microsoft Reviewers: Open in CodeFlow