-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathrenovate.json
More file actions
34 lines (34 loc) · 1.08 KB
/
renovate.json
File metadata and controls
34 lines (34 loc) · 1.08 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
34
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^ucore/github-pkgs-(x86_64|aarch64|noarch)\\.json$/"],
"matchStrings": [
"\"repo\":\\s*\"(?<depName>[^\"]+)\"[^}]*?\"version\":\\s*\"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "github-tags"
},
{
"customType": "regex",
"managerFilePatterns": ["/^ucore/github-pkgs-noarch\\.json$/"],
"matchStrings": [
"\"repo\":\\s*\"(?<depName>[^\"]+)\"[^}]*?\"branch\":\\s*\"(?<currentValue>[^\"]+)\"[^}]*?\"commit\":\\s*\"(?<currentDigest>[0-9a-f]+)\""
],
"datasourceTemplate": "git-refs",
"packageNameTemplate": "https://github.com/{{{depName}}}"
}
],
"postUpgradeTasks": {
"commands": [
"bash ucore/ci/renovate-refresh-github-pkgs.sh"
],
"fileFilters": [
"ucore/github-pkgs-x86_64.json",
"ucore/github-pkgs-aarch64.json",
"ucore/github-pkgs-noarch.json"
],
"executionMode": "update"
}
}