0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-24 22:10:38 +00:00
renovate-presets/golang.json

32 lines
1.0 KiB
JSON

{
"$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"
],
"gomod": {
"postUpdateOptions": ["gomodUpdateImportPaths", "gomodTidy"]
},
"packageRules": [
{
"description": "Automerge golang dev dependencies",
"extends": ["schedule:weekly"],
"groupName": "golang devDeps non-major",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["mvdan/gofumpt", "golangci/golangci-lint"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"],
"automerge": true,
"automergeType": "branch"
},
{
"description": "Schedule high frequency packages",
"extends": ["schedule:weekly"],
"groupName": "golang highFeq non-major",
"matchDatasources": ["go"],
"matchPackagePatterns": ["urfave/cli"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"]
}
]
}