Skip to content

Commit 105fbd4

Browse files
Rollup merge of #160076 - marcoieni:renovate-lockfile-update-fix, r=Kobzol
use unstable features when updating dependencies r? @Kobzol
2 parents 81aa4d3 + 0d16cb1 commit 105fbd4

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/renovate.json5

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@
99
// (still gated by dashboard approval for now)
1010
":maintainLockFilesMonthly",
1111
],
12+
// Cargo manifests in this repository use unstable features.
13+
"env": {
14+
"RUSTC_BOOTSTRAP": "1"
15+
},
16+
// The compiler and rustbook workspaces have path dependencies in these
17+
// submodules.
18+
"cloneSubmodules": true,
19+
"cloneSubmodulesFilter": [
20+
"src/doc/book",
21+
"src/doc/reference"
22+
],
1223
// Require manual approval from the Dependency Dashboard before opening PRs
1324
"dependencyDashboardApproval": true,
1425
// Renovate shouldn't update a PR if it is in the bors merge queue.
@@ -18,6 +29,22 @@
1829
// No dashboard approval necessary for GitHub Actions updates
1930
"matchManagers": ["github-actions"],
2031
"dependencyDashboardApproval": false
32+
},
33+
{
34+
// Only maintain the Cargo lockfiles managed by update-lockfile.sh.
35+
"matchManagers": ["cargo"],
36+
"matchUpdateTypes": ["lockFileMaintenance"],
37+
"enabled": false
38+
},
39+
{
40+
"matchManagers": ["cargo"],
41+
"matchUpdateTypes": ["lockFileMaintenance"],
42+
"matchFileNames": [
43+
"Cargo.toml",
44+
"library/Cargo.toml",
45+
"src/tools/rustbook/Cargo.toml"
46+
],
47+
"enabled": true
2148
}
2249
],
2350
// Don't manage dependencies inside subtrees. They are updated upstream and

0 commit comments

Comments
 (0)