Add a Github bot that creates backport PRs for all PRs merged to master that have the backport/{branch} label.
Our current backport policy (not yet documented, afaik) is to:
backport/{branch}, where {branch} is the long-living release branchrelease/{branch} branch by cherry-picking the PR's squashed commit.{branch} release manager approves/rejects the backport PRThe 3rd step is not ideal:
This leads to days (like today) where we backport 10+ PRs at once, which is intensive and error-prone.
A Github bot that would create companion backport PRs.
This bot would:
backport/{branch} labelrelease/{branch} branch by cherry-picking the parent PR's squashed commitAdvantages:
Disadvantages:
cc @alessio @robert-zaremba
CC'ing @marbar3778 @jgimeno @helder-moreira
yea this would be awsome. Mergify can do this for us https://docs.mergify.io/actions.html#backport
Awesome! Also looks like there's a command for it that we could start using now I think https://docs.mergify.io/commands.html#backport. Although I'm not sure if this opens a PR or just cherry-picks and merges... Would be good to have a PR step in between.
Most helpful comment
yea this would be awsome. Mergify can do this for us https://docs.mergify.io/actions.html#backport