Skip to content

Commit b1eb64a

Browse files
renovate[bot]GuyKh
authored andcommitted
Add renovate.json (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 75ce66b commit b1eb64a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

renovate.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"automerge": true,
7+
"packageRules": [
8+
{
9+
"matchDatasources": ["pypi"],
10+
"matchPackageNames": ["homeassistant"],
11+
"enabled": false
12+
},
13+
{
14+
"matchDatasources": ["pypi"],
15+
"matchPaths": ["requirements.txt"],
16+
"automerge": true
17+
}
18+
],
19+
"customManagers": [
20+
{
21+
"customType": "regex",
22+
"fileMatch": ["^custom_components/.+/manifest\\.json$"],
23+
"matchStrings": ["\"requirements\":\\s*\\[(\\s*\"(?<depName>[^\"]+)==(?<currentValue>(==|>=|<=)[0-9\\.]+)\"[,\\s]?)*\\]"],
24+
"versioningTemplate": "semver",
25+
"depNameTemplate": "{{depName}}",
26+
"datasourceTemplate": "pypi"
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)