Skip to content

Commit bbbda1f

Browse files
authored
chore(config): migrate Renovate config (#16237)
1 parent b241893 commit bbbda1f

1 file changed

Lines changed: 19 additions & 29 deletions

File tree

.github/renovate.json

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,41 @@
44
"docker:disable",
55
"schedule:weekdays"
66
],
7-
"python": {
8-
"enabled": false
9-
},
10-
"baseBranches": ["main"],
11-
"regexManagers": [
7+
"baseBranchPatterns": [
8+
"main"
9+
],
10+
"customManagers": [
1211
{
13-
"fileMatch": [
14-
".*\\.Dockerfile$",
15-
".*doc/packaging\\.md$",
16-
".github/workflows/*\\.yml$"
17-
],
18-
"matchStrings": [
19-
"https://github\\.com/(?<depName>.*?)/archive/(?<currentValue>.*?)\\.tar\\.gz",
20-
"https://github\\.com/(?<depName>.*?)/releases/download/(?<currentValue>[^/]+)/bazelisk-linux-",
21-
"https://github\\.com/(?<depName>.*?)/releases/download/(?<currentValue>[^/]+)/.*-x86_64-unknown-linux-musl.tar.gz"
22-
],
12+
"customType": "regex",
13+
"managerFilePatterns": ["/.*\\.Dockerfile$/", "/.*doc/packaging\\.md$/", "/.github/workflows/.*\\.yml$/"],
14+
"matchStrings": ["https://github\\.com/(?<depName>.*?)/archive/(?<currentValue>.*?)\\.tar\\.gz", "https://github\\.com/(?<depName>.*?)/releases/download/(?<currentValue>[^/]+)/bazelisk-linux-", "https://github\\.com/(?<depName>.*?)/releases/download/(?<currentValue>[^/]+)/.*-x86_64-unknown-linux-musl.tar.gz"],
2315
"datasourceTemplate": "github-releases",
2416
"versioningTemplate": "loose"
2517
},
2618
{
27-
"fileMatch": [
28-
"^ci/cloudbuild/builds/lib/bazel.sh$",
29-
"^ci/gha/builds/lib/bazel.sh$"
30-
],
31-
"matchStrings": [
32-
"{USE_BAZEL_VERSION:=\"(?<currentValue>.*?)\"}",
33-
"\\$Env:USE_BAZEL_VERSION=\"(?<currentValue>.*?)\""
34-
],
19+
"customType": "regex",
20+
"managerFilePatterns": ["/^ci/cloudbuild/builds/lib/bazel.sh$/", "/^ci/gha/builds/lib/bazel.sh$/"],
21+
"matchStrings": ["{USE_BAZEL_VERSION:=\"(?<currentValue>.*?)\"}", "\\$Env:USE_BAZEL_VERSION=\"(?<currentValue>.*?)\""],
3522
"datasourceTemplate": "github-releases",
3623
"depNameTemplate": "bazelbuild/bazel",
3724
"versioningTemplate": "loose"
3825
},
3926
{
40-
"fileMatch": [
41-
"ci/etc/vcpkg-version.txt$"
42-
],
43-
"matchStrings": [
44-
"^(?<currentValue>[0-9]{4}\\.[0-9]{2}\\.[0-9]{2})$"
45-
],
27+
"customType": "regex",
28+
"managerFilePatterns": ["/ci/etc/vcpkg-version.txt$/"],
29+
"matchStrings": ["^(?<currentValue>[0-9]{4}\\.[0-9]{2}\\.[0-9]{2})$"],
4630
"datasourceTemplate": "github-releases",
4731
"depNameTemplate": "microsoft/vcpkg",
4832
"versioningTemplate": "loose"
4933
}
5034
],
5135
"packageRules": [
36+
{
37+
"matchCategories": [
38+
"python"
39+
],
40+
"enabled": false
41+
},
5242
{
5343
"matchPackageNames": ["com_google_absl", "abseil/abseil-cpp", "abseil-cpp"],
5444
"groupName": "Abseil",

0 commit comments

Comments
 (0)