#TIL 33 - Auto-merge your pull request on GitHub with Renovate bot
This is a neat trick for auto-merge your pull request on GitHub with Renovate bot if that's passed the check (build, linter) for non-major update packages.
Here is the renovate.json
file.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"group:allNonMajor",
":pinAllExceptPeerDependencies"
],
"lockFileMaintenance": {
"enabled": true
},
"automerge": true,
"major": {
"automerge": false
}
}