2021-04-25 11:49:02 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
|
|
"description": ["Preset for use with golang repositories"],
|
|
|
|
"extends": [
|
|
|
|
"github>thegeeklab/renovate-presets:base",
|
|
|
|
"github>thegeeklab/renovate-presets:docker"
|
2021-04-25 12:04:04 +00:00
|
|
|
],
|
|
|
|
"gomod": {
|
|
|
|
"postUpdateOptions": ["gomodUpdateImportPaths", "gomodTidy"]
|
2022-04-24 12:39:42 +00:00
|
|
|
},
|
|
|
|
"packageRules": [
|
|
|
|
{
|
2023-03-20 13:09:00 +00:00
|
|
|
"description": "Automerge golang dev dependencies",
|
2024-01-23 08:52:10 +00:00
|
|
|
"extends": ["schedule:weekly"],
|
2023-03-20 13:09:00 +00:00
|
|
|
"groupName": "golang devDeps non-major",
|
2022-04-24 12:39:42 +00:00
|
|
|
"matchDatasources": ["github-releases"],
|
|
|
|
"matchPackageNames": ["mvdan/gofumpt", "golangci/golangci-lint"],
|
|
|
|
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
|
|
|
|
"automerge": true,
|
2024-01-23 08:52:10 +00:00
|
|
|
"automergeType": "branch"
|
2022-04-26 07:50:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Schedule high frequency packages",
|
2024-01-23 08:52:10 +00:00
|
|
|
"extends": ["schedule:weekly"],
|
2023-03-20 13:09:00 +00:00
|
|
|
"groupName": "golang highFeq non-major",
|
2022-04-26 07:50:20 +00:00
|
|
|
"matchDatasources": ["go"],
|
|
|
|
"matchPackagePatterns": ["urfave/cli"],
|
2024-01-23 08:52:10 +00:00
|
|
|
"matchUpdateTypes": ["pin", "digest", "patch", "minor"]
|
2022-04-24 12:39:42 +00:00
|
|
|
}
|
|
|
|
]
|
2021-04-25 11:49:02 +00:00
|
|
|
}
|