-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathrenovate.json
More file actions
26 lines (26 loc) · 1.11 KB
/
Copy pathrenovate.json
File metadata and controls
26 lines (26 loc) · 1.11 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"minimumReleaseAge": "14 days",
"customManagers": [
{
"customType": "regex",
"description": "Formatter and linter versions pinned at their call site. Each pin carries a `# renovate:` comment naming its datasource, so the same manager handles the shell script and the workflow.",
"managerFilePatterns": [
"/^scripts/format\\.sh$/",
"/^\\.github/workflows/CI\\.yml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>\\S+)\\s+[^\\n]*?@(?<currentValue>\\d[^\\s\"']+)",
"# renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>\\S+)\\s+[^\\n]*?version=?:? ?\"(?<currentValue>\\d[^\"]+)\""
]
}
],
"packageRules": [
{
"description": "JuliaFormatter has no Renovate datasource for the Julia General registry, so it is tracked by GitHub tag, which carries a leading `v`.",
"matchDepNames": ["JuliaEditorSupport/JuliaFormatter.jl"],
"extractVersion": "^v(?<version>.+)$"
}
]
}