Automatic backport of PRs on branches

Hi everyone,

I’ve been late on that proposal since it’s something we’re already using, but better later than never I guess.
So I started an experiment almost a year ago to start performing automatic backports of pull requests whenever a specific label was put on them.

For the context, at first my goal was to improve the process for handling translations pull requests on various branches. This was not entirely a success, but on the other hand, it helped a lot for handling pull requests of non committers, especially since we allowed triage rights for them. And personally I do use this capability myself a lot when working on PR since it avoids to forget cherry-picking some work on branches.

So I already documented the usage of this “backport stable-xxx” label in https://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HPullrequests, my proposal here is to generalize its usage to xwiki-commons and xwiki-rendering. Right now it’s apparently only supported on xwiki-platform.

wdyt?

@surli For xwiki-platform/.github/workflows/backport.yml at master · xwiki/xwiki-platform · GitHub it would be good to add a license + some documentation to explain what it does.

+1 to set it up also for commons+rendering.

Thanks

+1 thanks

+1, from my perspective as a non committer, it works great on xwiki-platform. I agree to extend our usage of this system :+1:

+1

Files added in xwiki-commons and xwiki-rendering