{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"], "timezone": "Europe/Bratislava", "prHourlyLimit": 0, "packageRules": [ { "description": "package.json only pins public/vendor/, so re-sync the vendored files in the same PR", "matchManagers": ["npm"], "postUpgradeTasks": { "commands": ["npm ci --ignore-scripts --no-audit --no-fund", "node bin/vendor-sync.mjs"], "fileFilters": ["public/vendor/**"], "executionMode": "branch" } }, { "description": "Fonts and the Liberty style/sprite are pinned to git commits in bin/assets-sync.mjs, re-download them in the same PR", "matchFileNames": ["bin/assets-sync.mjs"], "postUpgradeTasks": { "commands": ["node bin/assets-sync.mjs"], "fileFilters": ["public/vendor/**"], "executionMode": "branch" } } ], "customManagers": [ { "customType": "regex", "description": "Dockerfile ARG *_VERSION pins annotated with a `# renovate:` comment", "managerFilePatterns": ["/(^|/)Dockerfile$/"], "matchStrings": [ "# renovate: datasource=(?\\S+) depName=(?\\S+)\\s+ARG \\S+_VERSION=(?\\S+)" ], "extractVersionTemplate": "^v?(?.*)$" }, { "customType": "regex", "description": "Git commit pins annotated with a `// renovate:` comment", "managerFilePatterns": ["/^bin/assets-sync\\.mjs$/"], "matchStrings": [ "// renovate: datasource=(?\\S+) depName=(?\\S+) branch=(?\\S+)\\s+const \\w+ = \"(?[0-9a-f]{40})\"" ] } ] }