diff --git a/config/alfa-renovate.json b/config/alfa-renovate.json new file mode 100644 index 0000000000..cc8beeee18 --- /dev/null +++ b/config/alfa-renovate.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": [ + "Renovate config for Alfa and related project", + "* npm access (via siteimprove/renovate-config:npm)", + "* Automerge minor/patch dependencies that pass tests, weekly", + "* Open PR for Alfa dependencies asap", + "* Open PR for other dependencies weekly, grouped together" + ], + "reviewers": ["team:alfa-owners"], + "dependencyDashboard": true, + "packageRules": [ + { + "groupName": "Alfa", + "matchPackagePrefixes": ["@siteimprove/alfa"] + }, + { + "groupName": "Other deps (major)", + "matchPackagePatterns": ["*"], + "excludePackagePrefixes": ["@siteimprove/alfa"], + "schedule": ["before 3am on Monday"] + }, + { + "groupName": "Other deps (minor/patch)", + "matchPackagePatterns": ["*"], + "excludePackagePrefixes": ["@siteimprove/alfa"], + "matchUpdateTypes": ["minor", "patch"], + "matchCurrentVersion": "!/^0/", + "automerge": true, + "schedule": ["on Sunday"] + } + ], + "extends": ["config:base", "github>siteimprove/renovate-config:npm"] +} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..f74eeed2f5 --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Use Alfa's renovate preset", + "extends": ["local>siteimprove/alfa//config/alfa-renovate"] +}