feat: tweak renovate
This commit is contained in:
parent
47cc7da6bf
commit
6eff42a5f5
2 changed files with 27 additions and 12 deletions
11
.github/renovate.json5
vendored
11
.github/renovate.json5
vendored
|
@ -5,7 +5,6 @@
|
|||
"github>truxnell/renovate-config:automerge-github-actions",
|
||||
"github>truxnell/nix-config//.github/renovate/autoMerge.json5",
|
||||
],
|
||||
"autoMerge": "true",
|
||||
"gitAuthor": "Trux-Bot <19149206+trux-bot[bot]@users.noreply.github.com>",
|
||||
"ignoreTests": "false",
|
||||
|
||||
|
@ -13,12 +12,14 @@
|
|||
// https://docs.renovatebot.com/modules/manager/nix/
|
||||
"nix": {
|
||||
"enabled": "true"
|
||||
"autoMerge": "true"
|
||||
},
|
||||
|
||||
|
||||
"lockFileMaintenance": {
|
||||
"enabled": "true"
|
||||
"enabled": "true",
|
||||
"autoMerge": "true",
|
||||
},
|
||||
|
||||
|
||||
"regexManagers": [
|
||||
{
|
||||
fileMatch: ["^.*\\.nix$"],
|
||||
|
@ -28,4 +29,4 @@
|
|||
datasourceTemplate: "docker",
|
||||
}
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
28
.github/renovate/autoMerge.json5
vendored
28
.github/renovate/autoMerge.json5
vendored
|
@ -1,17 +1,31 @@
|
|||
{
|
||||
packageRules: [
|
||||
// auto update all up to major
|
||||
|
||||
// auto update up to major
|
||||
"packageRules": [
|
||||
{
|
||||
matchDatasources: ['docker'],
|
||||
automerge: "true",
|
||||
matchUpdateTypes: [ 'minor', 'patch', 'digest'],
|
||||
matchPackageNames: [
|
||||
"matchDatasources": ['docker'],
|
||||
"automerge": "true",
|
||||
"automergeType": "branch",
|
||||
"matchUpdateTypes": [ 'minor', 'patch', 'digest'],
|
||||
"matchPackageNames": [
|
||||
'onedr0p/sonarr',
|
||||
'onedr0p/readarr',
|
||||
'onedr0p/radarr',
|
||||
'onedr0p/lidarr',
|
||||
'onedr0p/prowlarr',
|
||||
],
|
||||
|
||||
// auto update up to minor
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": ['docker'],
|
||||
"automerge": "true",
|
||||
"automergeType": "branch",
|
||||
"matchUpdateTypes": [ 'patch', 'digest'],
|
||||
"matchPackageNames": [
|
||||
"gethomepage/homepage",
|
||||
],
|
||||
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue