29 lines
852 B
JSON
29 lines
852 B
JSON
|
{
|
||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||
|
"assigneesFromCodeOwners": true,
|
||
|
"labels": [ "renovate" ],
|
||
|
"packageRules": [
|
||
|
{
|
||
|
"description": "Automatically update minor and patch versions of go modules",
|
||
|
"addLabels": [ "renovate/gomod", "renovate/automerge" ],
|
||
|
"automerge": true,
|
||
|
"matchBaseBranches": [ "master" ],
|
||
|
"matchManagers": [ "gomod" ],
|
||
|
"matchUpdateTypes": [ "minor", "patch" ]
|
||
|
},
|
||
|
{
|
||
|
"description": "Prepare MR for major update minor of go modules",
|
||
|
"addLabels": [ "renovate/gomod" ],
|
||
|
"automerge": false,
|
||
|
"matchBaseBranches": [ "master" ],
|
||
|
"matchManagers": [ "gomod" ],
|
||
|
"matchUpdateTypes": [ "major" ]
|
||
|
}
|
||
|
],
|
||
|
"postUpdateOptions": [
|
||
|
"gomodTidy"
|
||
|
],
|
||
|
"rebaseLabel": "renovate/rebase",
|
||
|
"rebaseWhen": "behind-base-branch"
|
||
|
}
|