From 604331e1aeb7b2a67abcd4d9b6b368e1e4a92a12 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Tue, 17 Oct 2023 10:30:10 +0200 Subject: [PATCH 1/3] Set up renovate preset for Alfa projects --- config/alfa-renovate.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 config/alfa-renovate.json 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"] +} From e929716f7b019da8989dda961bf87f25aeee8105 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Tue, 17 Oct 2023 10:40:25 +0200 Subject: [PATCH 2/3] Set up renovate --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 renovate.json 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"] +} From fd60ed18a3e7e4b76c9430b965e9c951738d9d99 Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Tue, 17 Oct 2023 10:53:22 +0200 Subject: [PATCH 3/3] Update shared config --- config/alfa-renovate.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/config/alfa-renovate.json b/config/alfa-renovate.json index cc8beeee18..43f947e99a 100644 --- a/config/alfa-renovate.json +++ b/config/alfa-renovate.json @@ -2,18 +2,12 @@ "$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": ["*"], @@ -30,5 +24,5 @@ "schedule": ["on Sunday"] } ], - "extends": ["config:base", "github>siteimprove/renovate-config:npm"] + "extends": ["config:base"] }