Skip to content

Commit 0503f81

Browse files
committed
Enable conda environment updates
1 parent 0ce9bce commit 0503f81

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

renovate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"schedule:earlyMondays"
77
],
88
"ignoreUnstable": false,
9+
"enabledManagers": ["pip_requirements"],
910
"packageRules": [
1011
{
1112
"description": "Neo4j and APOC update settings",
@@ -168,6 +169,17 @@
168169
],
169170
"depNameTemplate": "{{{group}}}:{{{artifact}}}",
170171
"datasourceTemplate": "maven"
172+
},
173+
{
174+
"description": "Update conda environment for Python",
175+
"customType": "regex",
176+
"fileMatch": ["(^|/)conda-environment\\.yml$"],
177+
"matchStrings": [
178+
"\\s+-\\s+(?<depName>[a-zA-Z0-9_.-]+)=(?<currentValue>[^\\s]+)"
179+
],
180+
"datasourceTemplate": "conda",
181+
"depNameTemplate": "{{depName}}",
182+
"currentValueTemplate": "{{currentValue}}"
171183
}
172184
]
173185
}

0 commit comments

Comments
 (0)