Skip to content

Commit

Permalink
feat: manage deps with renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Apr 26, 2024
1 parent d32ad5f commit 84f3474
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"schedule:weekly"
],
"enabledManagers": [
"custom.regex"
],
"packageRules": [
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"prBodyColumns": [
"Package",
"Type",
"Update",
"Change",
"Pending"
]
},
{
"groupName": "all major dependencies",
"groupSlug": "all-major",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"major"
],
"prBodyColumns": [
"Package",
"Type",
"Update",
"Change",
"Pending"
]
}
],
"customManagers": [
{
"description": "ModSecurity 3",
"depNameTemplate": "ModSecurity 3",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"modsec3-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "owasp-modsecurity/ModSecurity",
"datasourceTemplate": "github-releases"
},
{
"description": "ModSecurity 2",
"depNameTemplate": "ModSecurity 2",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"modsec2-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "owasp-modsecurity/ModSecurity",
"datasourceTemplate": "github-releases"
},
{
"description": "CRS",
"depNameTemplate": "CRS",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"crs-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "coreruleset/coreruleset",
"datasourceTemplate": "github-releases"
},
{
"description": "nginx",
"depNameTemplate": "nginx",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"nginx-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "nginxinc/nginx-unprivileged",
"datasourceTemplate": "docker"
},
{
"description": "httpd",
"depNameTemplate": "httpd",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"nginx-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "httpd",
"datasourceTemplate": "docker"
},
{
"description": "openresty",
"depNameTemplate": "openresty",
"customType": "regex",
"fileMatch": [
"^docker-bake.hcl$"
],
"matchStrings": [
"^variable \"nginx-version\" {\\n\\s+default = \"(?<currentValue> [^\"]+)\""
],
"packageNameTemplate": "openresty/openresty",
"datasourceTemplate": "docker"
}
]
}

0 comments on commit 84f3474

Please sign in to comment.