Github action used for backporting PRs on frappe/erpnext repository.
- Add a label on PR with name
backport branchname
to backport tobranchname
. - This can be done before or after merging PR. The action only runs once it's merged
- Currently only squashed PRs can be backported using this.
- Once action runs, a backport is created on
frappe-pr-bot
's fork of original repository.
- The code is written in TypeScript, only edit the TypeScript files. Before committing, JavaScript files should be generated using
tsc
TypeScript compiler. (js files will be removed from version control in future)
This is based on https://github.com/tibdex/backport with modifications from Grafana and VS Code's github actions, code reused under MIT license.