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