Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
54 lines (54 loc) · 1.96 KB
/
Copy pathrenovate.json
File metadata and controls
54 lines (54 loc) · 1.96 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"gitIgnoredAuthors": ["41898282+github-actions[bot]@users.noreply.github.com"],
"customManagers": [
{
"description": "Bazel's pnpm pin tracks packageManager; the shared branch name keeps both bumps in one PR",
"customType": "regex",
"managerFilePatterns": ["/^MODULE\\.bazel$/"],
"matchStrings": ["pnpm\\.pnpm\\(pnpm_version = \"(?<currentValue>[^\"]+)\"\\)"],
"depNameTemplate": "pnpm",
"datasourceTemplate": "npm"
},
{
"description": "Workflow env pins annotated with a `# renovate:` comment on the line above",
"customType": "regex",
"managerFilePatterns": ["/^\\.github/workflows/[^/]+\\.ya?ml$/"],
"matchStrings": ["# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+[A-Z_]+: \"?(?<currentValue>[^\\s\"]+)\"?"]
},
{
"description": "rules_rust's compiler, formatter, and analyzer pins must match rust-toolchain.toml",
"customType": "regex",
"managerFilePatterns": ["/^MODULE\\.bazel$/"],
"matchStrings": [
"RUST_VERSION\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+\\.\\d+)\""
],
"depNameTemplate": "rust",
"datasourceTemplate": "rust-version",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"description": "Cargo lockfiles require the repository's external vendoring workflow",
"matchManagers": ["cargo"],
"enabled": false
},
{
"description": "The typescript@5 test compiler stays on the 5.x line that projects still pin",
"matchFileNames": ["tests/typescript5/package.json"],
"matchDepNames": ["typescript"],
"allowedVersions": "5.x"
},
{
"description": "One PR moves every Rust toolchain pin",
"matchDepNames": ["rust"],
"matchDatasources": ["rust-version"],
"groupName": "rust toolchain",
"separateMajorMinor": false
}
]
}