Hotfix Bot is a JavaScript GitHub Action to backport a pull request to a list of branches by simply adding a Hotfix
label to it.
It can backport rebased and merged pull requests with a single commit and squashed and merged pull requests. It thus integrates well with Autosquash.
- 🔌 Add this .github/workflows/hotfix.yml to your repository.
- 💬 Change the
branches
key to the branch names you want hotfixes backported to. - ✨ That's it! When the pull request gets merged, it will be backported to the specified branches. If the pull request cannot be backported, a comment explaining why will automatically be posted.