feat: tweak renovate

This commit is contained in:
truxnell 2024-04-08 11:55:39 +10:00
parent 47cc7da6bf
commit 6eff42a5f5
2 changed files with 27 additions and 12 deletions

View file

@ -5,7 +5,6 @@
"github>truxnell/renovate-config:automerge-github-actions", "github>truxnell/renovate-config:automerge-github-actions",
"github>truxnell/nix-config//.github/renovate/autoMerge.json5", "github>truxnell/nix-config//.github/renovate/autoMerge.json5",
], ],
"autoMerge": "true",
"gitAuthor": "Trux-Bot <19149206+trux-bot[bot]@users.noreply.github.com>", "gitAuthor": "Trux-Bot <19149206+trux-bot[bot]@users.noreply.github.com>",
"ignoreTests": "false", "ignoreTests": "false",
@ -13,12 +12,14 @@
// https://docs.renovatebot.com/modules/manager/nix/ // https://docs.renovatebot.com/modules/manager/nix/
"nix": { "nix": {
"enabled": "true" "enabled": "true"
"autoMerge": "true"
}, },
"lockFileMaintenance": { "lockFileMaintenance": {
"enabled": "true" "enabled": "true",
"autoMerge": "true",
}, },
"regexManagers": [ "regexManagers": [
{ {
fileMatch: ["^.*\\.nix$"], fileMatch: ["^.*\\.nix$"],
@ -28,4 +29,4 @@
datasourceTemplate: "docker", datasourceTemplate: "docker",
} }
], ],
} }

View file

@ -1,17 +1,31 @@
{ {
packageRules: [
// auto update all up to major // auto update up to major
"packageRules": [
{ {
matchDatasources: ['docker'], "matchDatasources": ['docker'],
automerge: "true", "automerge": "true",
matchUpdateTypes: [ 'minor', 'patch', 'digest'], "automergeType": "branch",
matchPackageNames: [ "matchUpdateTypes": [ 'minor', 'patch', 'digest'],
"matchPackageNames": [
'onedr0p/sonarr', 'onedr0p/sonarr',
'onedr0p/readarr', 'onedr0p/readarr',
'onedr0p/radarr', 'onedr0p/radarr',
'onedr0p/lidarr', 'onedr0p/lidarr',
'onedr0p/prowlarr', 'onedr0p/prowlarr',
], ],
// auto update up to minor
"packageRules": [
{
"matchDatasources": ['docker'],
"automerge": "true",
"automergeType": "branch",
"matchUpdateTypes": [ 'patch', 'digest'],
"matchPackageNames": [
"gethomepage/homepage",
],
}, },
], ],
} }