From 51321786692709aef16454bf801fb3810900852d Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 1 Aug 2020 11:48:24 +0200 Subject: [PATCH] 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. --- renovate.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/renovate.json b/renovate.json index 221e6daf2..6688aedbb 100644 --- a/renovate.json +++ b/renovate.json @@ -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,