diff --git a/renovate-config-example.json b/renovate-config-example.json new file mode 100644 index 0000000..7aeea95 --- /dev/null +++ b/renovate-config-example.json @@ -0,0 +1,51 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "repositories": [ + "fgm/envrun", + "fgm/untilMongod", + "fgm/container", + "fgm/drupal_redis_stats", + "fgm/izidic", + "fgm/pflagheaders" + ], + "enabledManagers": ["gomod", "github-actions", "npm"], + "packageRules": [ + { + "matchManagers": ["gomod"], + "groupName": "Go dependencies", + "groupSlug": "go-deps", + "updateTypes": ["minor", "patch"] + }, + { + "matchManagers": ["github-actions"], + "groupName": "GitHub Actions", + "groupSlug": "github-actions" + }, + { + "matchManagers": ["npm"], + "matchPaths": ["examples/**"], + "groupName": "npm dependencies", + "groupSlug": "npm-deps" + } + ], + "repositoryRules": [ + { + "matchRepositoryNames": ["fgm/pflagheaders"], + "schedule": ["before 3am on Monday"] + }, + { + "matchRepositoryNames": ["fgm/envrun", "fgm/container"], + "schedule": ["before 3am on the first Saturday"] + }, + { + "matchRepositoryNames": ["fgm/untilMongod"], + "schedule": ["before 3am on the 1st of the month"] + }, + { + "matchRepositoryNames": ["fgm/drupal_redis_stats", "fgm/izidic"], + "schedule": ["before 3am on Monday"], + "enabledManagers": ["gomod"] + } + ] +} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9241b71 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>fgm/renovate-config" + ] +}