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": [
|
|
|
|
{
|
|
|
|
"description": "Automerge golang dev tools",
|
|
|
|
"groupName": "golang dev tools (non-major)",
|
|
|
|
"matchDatasources": ["github-releases"],
|
|
|
|
"matchPackageNames": ["mvdan/gofumpt", "golangci/golangci-lint"],
|
|
|
|
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
|
|
|
|
"automerge": true,
|
|
|
|
"extends": ["schedule:weekly"]
|
2022-04-26 07:50:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Schedule high frequency packages",
|
|
|
|
"groupName": "golang high fequency (non-major)",
|
|
|
|
"matchDatasources": ["go"],
|
|
|
|
"matchPackagePatterns": ["urfave/cli"],
|
|
|
|
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
|
|
|
|
"extends": ["schedule:weekly"]
|
2022-04-24 12:39:42 +00:00
|
|
|
}
|
|
|
|
]
|
2021-04-25 11:49:02 +00:00
|
|
|
}
|