diff --git a/renovate.json b/renovate.json index b4ac99e..fabf6b7 100644 --- a/renovate.json +++ b/renovate.json @@ -4,28 +4,33 @@ "customManagers": [ { "customType": "regex", - "description": "Image tags in versions.env", + "description": "Image tags in versions.env. The variable name is the display name, so PRs say which app they are for; the image is what gets looked up.", "managerFilePatterns": ["/^versions\\.env$/"], "matchStrings": [ - "(?:^|\\n)[A-Z0-9_]+_IMAGE=(?[^:\\s]+):(?[^\\s@]+)" + "(?:^|\\n)(?[A-Z0-9_]+_IMAGE)=(?[^:\\s]+):(?[^\\s@]+)" ], "datasourceTemplate": "docker" } ], "packageRules": [ + { + "description": "Name both the variable and the image in versions.env PR titles", + "matchManagers": ["custom.regex"], + "commitMessageTopic": "{{{depName}}} ({{{packageName}}})" + }, { "description": "Database majors need a dump/restore, so never propose them", - "matchDepNames": ["postgres", "prodrigestivill/postgres-backup-local"], + "matchPackageNames": ["postgres", "prodrigestivill/postgres-backup-local"], "matchUpdateTypes": ["major"], "enabled": false }, { "description": "Stay on the 10.6 LTS line; 10.11 is effectively a major upgrade", - "matchDepNames": ["mariadb"], + "matchPackageNames": ["mariadb"], "allowedVersions": "/^10\\.6\\./" }, { - "matchDepNames": ["amir20/dozzle"], + "matchPackageNames": ["amir20/dozzle"], "prBodyNotes": [ "Also bump the Dozzle agents on the TrueNAS hosts to the same tag. The hub and agents share the TLS pair baked into the image." ]