feat: init

This commit is contained in:
nyyu 2024-05-03 12:03:02 +02:00
commit 6f1c744af8

43
default.json Normal file
View File

@ -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=(?<datasource>.*?) depName=(?<depName>.*?)( extractVersion=(?<extractVersion>.+?))?( versioning=(?<versioning>.*?))?\\n(?:ENV|ARG)?\\s.*?_(?:VERSION|VER)=(?<currentValue>[^\\s]+).*\\n"
],
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}