commit 6f1c744af8847e954d956b932175bddce9c5fdce Author: nyyu Date: Fri May 3 12:03:02 2024 +0200 feat: init diff --git a/default.json b/default.json new file mode 100644 index 0000000..268c178 --- /dev/null +++ b/default.json @@ -0,0 +1,43 @@ +{ + "$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}}" + } + ] +} \ No newline at end of file