{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended", ":dependencyDashboard", ":semanticCommits"], "lockFileMaintenance": { "enabled": true, "automerge": true }, "hostRules": [ { "matchHost": "docker.nyyu.dev", "username": "{{ secrets.REGISTRY_USERNAME }}", "password": "{{ secrets.REGISTRY_PASSWORD }}" } ], "packageRules": [ { "matchPackageNames": ["cargo"], "rangeStrategy": "update-lockfile" }, { "matchManagers": ["cargo", "npm"], "matchUpdateTypes": ["patch"], "enabled": false }, { "matchManagers": ["cargo", "npm"], "matchUpdateTypes": ["minor"], "matchCurrentVersion": "!/^0/", "enabled": false } ], "customManagers": [ { "customType": "regex", "fileMatch": ["^Dockerfile$"], "matchStrings": [ "datasource=(?.*?) depName=(?.*?)( extractVersion=(?.+?))?( versioning=(?.*?))?\\n(?:ENV|ARG)?\\s.*?_(?:VERSION|VER)=(?[^\\s]+).*\\n" ], "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?.+)${{/if}}", "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" } ] }