docs: add backporting guide and automation#2863
Open
Saadnajmi wants to merge 1 commit intomicrosoft:mainfrom
Open
docs: add backporting guide and automation#2863Saadnajmi wants to merge 1 commit intomicrosoft:mainfrom
Saadnajmi wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Add backporting infrastructure for cherry-picking changes across release branches: - .ai/commands/backport.md: shared AI-tool-agnostic backport instructions - .claude/commands/backport.md: Claude Code slash command wrapper - .github/workflows/microsoft-backport.yml: GH Actions workflow for /backport comments with auto-update support - docsite/docs/contributing/backporting.md: documentation page Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
vmoroz
approved these changes
Mar 20, 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.
Summary
Add backporting infrastructure for cherry-picking changes across release branches. This includes:
.ai/commands/backport.md— Shared AI-tool-agnostic backport instructions (works with Claude Code, Copilot, or any AI assistant).claude/commands/backport.md— Claude Code/backportslash command wrapper.github/workflows/microsoft-backport.yml— GitHub Actions workflow triggered by/backport <branch>comments on PRs, with auto-update support when source PR changesdocsite/docs/contributing/backporting.md— Documentation page covering all backport methodsFeatures
/backport 0.81-stable 0.82-stableactions/create-github-app-token@v2Test plan
cd docsite && yarn start— check "Backporting" page under Contributing/backportslash command locally in Claude Code/backport 0.81-stable, verify workflow creates backport PR🤖 Generated with Claude Code