🔧 Add Renovate configuration

Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
This commit is contained in:
David Barragán Merino 2026-10-06 10:55:58 +00:00 committed by David Barragán Merino
parent d47753dbb3
commit bcd4631082

41
renovate.json Normal file
View File

@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>penpot/renovate-config"],
"semanticCommits": "disabled",
"commitMessagePrefix": ":arrow_up:",
"commitMessageAction": "Update",
"pinDigest": {
"commitMessageAction": "Pin"
},
"nvm": {
"enabled": false
},
"customManagers": [
{
"customType": "regex",
"description": "Keep .nvmrc in sync with the DHI Node image",
"managerFilePatterns": ["/^\\.nvmrc$/"],
"matchStrings": ["v(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "dhi.io/node",
"datasourceTemplate": "docker",
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+\\.\\d+)-debian13$"
},
{
"customType": "regex",
"description": "Keep the devenv Node in sync with the DHI Node image",
"managerFilePatterns": ["/^docker/devenv/Dockerfile$/"],
"matchStrings": ["NODE_VERSION=v(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "dhi.io/node",
"datasourceTemplate": "docker",
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+\\.\\d+)-debian13$"
}
],
"packageRules": [
{
"description": "Node versions in plain text have no digest to pin",
"matchManagers": ["custom.regex"],
"matchDatasources": ["docker"],
"pinDigests": false
}
]
}