Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

chore: add Renovate configuration (#512)

Tássio Noronha1f03e503e003
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 00000000..1cae4e09
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,51 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["config:recommended"],
+ "timezone": "Europe/Paris",
+ "schedule": ["before 8am on monday"],
+ "prConcurrentLimit": 5,
+ "labels": ["dependencies"],
+ "rangeStrategy": "update-lockfile",
+ "lockFileMaintenance": {
+ "enabled": true,
+ "schedule": ["before 8am on the first day of the month"]
+ },
+ "packageRules": [
+ {
+ "matchManagers": ["github-actions"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "GitHub Actions (non-major)"
+ },
+ {
+ "matchManagers": ["npm"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "frontend (non-major)"
+ },
+ {
+ "matchManagers": ["pep621"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "backend (non-major)"
+ },
+ {
+ "description": "Postgres majors need a deliberate data migration for self-hosters — never auto-PR them",
+ "matchDatasources": ["docker"],
+ "matchPackageNames": ["pgvector/pgvector"],
+ "matchUpdateTypes": ["major"],
+ "enabled": false
+ }
+ ],
+ "customManagers": [
+ {
+ "customType": "regex",
+ "description": "uv pinned in the Dockerfile, CI and scripts/lock.sh (marked with a `# renovate:` comment)",
+ "fileMatch": [
+ "^backend/Dockerfile$",
+ "^backend/scripts/lock\\.sh$",
+ "^\\.github/workflows/ci\\.yml$"
+ ],
+ "matchStrings": [
+ "# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\n[^\\n]*?(?:==|@)(?<currentValue>\\d+\\.\\d+\\.\\d+)"
+ ]
+ }
+ ]
+}