This document explains how to backport a merged PR from master
to one of the stable*
branches.
Backports should only be used to fix bugs or security issues - never to introduce new features.
- Fix a bug through a PR that targets
master
. - Add label
A4-needs-backport
to the PR. - Merge the PR into
master
. - Wait for the bot to open the backport PR.
- Ensure the change is audited or does not need audit.
- Merge the backport PR.
The label can also be added after the PR is merged.
For example here where the dev triggered the process by adding the label after merging: