Automation: add backport workflow for null-deref fix to 0.81–0.84 stable branches#16103
Closed
Automation: add backport workflow for null-deref fix to 0.81–0.84 stable branches#16103
Conversation
… of direct push Agent-Logs-Url: https://github.com/microsoft/react-native-windows/sessions/a8056eb8-9334-439b-824a-f47c401d37b4 Co-authored-by: vineethkuttan <66076509+vineethkuttan@users.noreply.github.com>
… branches Agent-Logs-Url: https://github.com/microsoft/react-native-windows/sessions/a8056eb8-9334-439b-824a-f47c401d37b4 Co-authored-by: vineethkuttan <66076509+vineethkuttan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/react-native-windows/sessions/a8056eb8-9334-439b-824a-f47c401d37b4 Co-authored-by: vineethkuttan <66076509+vineethkuttan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
vineethkuttan
May 8, 2026 07:08
View session
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
Adds a one-click GitHub Actions workflow to backport the null-dereference fix (
2269a198b3d64ff4ed66d16222e4038178eef1cf) to all supporting stable branches (0.81-stable,0.82-stable,0.83-stable,0.84-stable).Also updates the generic
cherry-pick-commit.ymlworkflow to create a feature branch + PR (instead of pushing directly to the target branch), which is the safer and more reviewable backport pattern.What
Updated
.github/workflows/cherry-pick-commit.yml:backport/cherry-pick-<sha>-to-<branch>feature branch from the target stable branchAdded
.github/workflows/backport-fix-null-deref-selectioncontainer.yml:workflow_dispatchworkflow2269a198b3d64ff4ed66d16222e4038178eef1cf(the fix for null dereference inget_SelectionContainer)How to create the 4 backport PRs
After this PR is merged to
main:main→ click "Run workflow"backport/cherry-pick-2269a198b-to-0.81-stable→0.81-stablebackport/cherry-pick-2269a198b-to-0.82-stable→0.82-stablebackport/cherry-pick-2269a198b-to-0.83-stable→0.83-stablebackport/cherry-pick-2269a198b-to-0.84-stable→0.84-stableScreenshots
N/A — CI/automation change only.
Testing
Workflow YAML syntax validated. The workflow uses standard
gh pr createandgit cherry-pickoperations that are well-tested patterns.Changelog
Should this change be included in the release notes: no
Internal automation improvement — backport workflow now creates reviewable PRs instead of pushing directly to stable branches.
Microsoft Reviewers: Open in CodeFlow