Skip to content

Commit

Permalink
chore: Configure Renovate (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommaso Bailetti <[email protected]>
  • Loading branch information
renovate[bot] and Tbaile authored Jun 24, 2024
1 parent 95b5686 commit 266ddfd
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"branchPrefix": "renovate-",
"branchNameStrict": true,
"ignorePaths": [
"**/ui/**"
],
"packageRules": [
{
"matchPackageNames": [
"docker.io/node"
],
"allowedVersions": "<= 18"
},
{
"matchDepNames": [
"dnsmasq"
],
"matchDatasources": [
"cutom.dnsmasq"
],
"extractVersion": "dnsmasq-(?<major>\\d+)\\.(?<minor>\\d+)$"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"build-images.sh"
],
"matchStrings": [
"^DNSMASQ_VERSION=(?<currentValue>[^\\s]*)$"
],
"versioningTemplate": "regex:(?<major>\\d+)\\.(?<minor>\\d+)",
"depNameTemplate": "dnsmasq",
"datasourceTemplate": "custom.dnsmasq"
}
],
"customDatasources": {
"dnsmasq": {
"defaultRegistryUrlTemplate": "https://dnsmasq.org/",
"format": "html"
}
}
}

0 comments on commit 266ddfd

Please sign in to comment.