Skip to content

Commit

Permalink
Update renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyKh committed Sep 24, 2024
1 parent 4eb2d3f commit 46da9dc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,28 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"automerge": true,
"packageRules": [
{
"matchDatasources": ["pypi"],
"matchPackageNames": ["homeassistant"],
"enabled": false
},
{
"matchDatasources": ["pypi"],
"matchPaths": ["requirements.txt"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^custom_components/.+/manifest\\.json$"],
"matchStrings": ["\"requirements\":\\s*\\[(\\s*\"(?<depName>[^\"]+)==(?<currentValue>(==|>=|<=)[0-9\\.]+)\"[,\\s]?)*\\]"],
"versioningTemplate": "python",
"depNameTemplate": "{{depName}}",
"datasourceTemplate": "pypi"
}
]
}

0 comments on commit 46da9dc

Please sign in to comment.