-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathrenovate.json
More file actions
33 lines (33 loc) · 1.04 KB
/
renovate.json
File metadata and controls
33 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "jsonata",
"description": "Update cog requirements in info.json files",
"fileFormat": "json",
"managerFilePatterns": [
"/(^|/)info\\.json$/"
],
"matchStrings": [
"$exists(requirements) and $count(requirements) > 0 ? $filter(requirements, function($v) { $match($v, /^([\\w\\.-]+)(.+)$/) }).{ \"depName\": $match($, /^([\\w\\.-]+)(.+)$/).groups[0], \"currentValue\": $match($, /^([\\w\\.-]+)(.+)$/).groups[1] } : []"
],
"datasourceTemplate": "pypi",
"versioningTemplate": "pep440"
}
],
"packageRules": [
{
"matchFileNames": ["requirements.txt"],
"commitMessageTopic": "cog requirement {{depName}}",
"commitMessageExtra": "to {{newValue}}"
},
{
"matchManagers": ["custom.jsonata"],
"commitMessageTopic": "cog requirement {{depName}}",
"commitMessageExtra": "to {{{newValue}}}"
}
]
}