Add automerge config to renovatebot

This patch adds the ability to automatically merge PRs from renovate
bot for certain update types, such as package pinning or linter, types
and test-library packages.
This commit is contained in:
Sheogorath 2020-08-01 11:48:24 +02:00 committed by mrdrogdrog
parent 4356d39ea7
commit 5132178669

View file

@ -6,13 +6,19 @@
"dependencies"
],
"packageRules": [
{
"updateTypes": ["pin"],
"automerge": true
},
{
"extends": "packages:linters",
"groupName": "linters"
"groupName": "linters",
"automerge": true
},
{
"extends": "monorepo:typescript-eslint",
"groupName": "typescript-eslint monorepo"
"groupName": "typescript-eslint monorepo",
"automerge": true
},
{
"extends": "monorepo:react",
@ -26,13 +32,15 @@
"groupName": "definitelyTyped",
"packagePatterns": [
"^@types/"
]
],
"automerge": true
},
{
"groupName": "JS test packages",
"packagePatterns": [
"^@testing-library/"
]
],
"automerge": true
}
],
"prHourlyLimit": 0,