Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,40 @@
"dependencyDashboardApproval": false
},
{
// Only maintain the Cargo lockfiles managed by update-lockfile.sh.
// Update all Cargo.lock files except library/Cargo.lock in one PR.
"matchManagers": ["cargo"],
"matchUpdateTypes": ["lockFileMaintenance"],
"enabled": false
"groupName": "Cargo lock file maintenance",
"commitMessageAction": "Cargo lock file maintenance"
},
{
// Update library/Cargo.lock in a dedicated PR.
"matchManagers": ["cargo"],
"matchUpdateTypes": ["lockFileMaintenance"],
"matchFileNames": ["library/Cargo.lock"],
"groupName": "library lock file maintenance",
"commitMessageAction": "Library lock file maintenance"
},
{
// These packages don't have a committed Cargo.lock file.
"matchManagers": ["cargo"],
"matchUpdateTypes": ["lockFileMaintenance"],
"matchFileNames": [
"Cargo.toml",
"library/Cargo.toml",
"src/tools/rustbook/Cargo.toml"
"library/rustc-std-workspace-*/Cargo.toml",
],
"enabled": true
"enabled": false
},
{
// Update yarn.lock in a dedicated PR.
"matchManagers": ["npm"],
"matchUpdateTypes": ["lockFileMaintenance"],
"groupName": "Yarn lock file maintenance",
"commitMessageAction": "Yarn lock file maintenance"
}
],
// Don't manage dependencies inside subtrees. They are updated upstream and
// synced in. See `src/doc/rustc-dev-guide/src/external-repos.md` for the list.
"ignorePaths": [
// Don't manage dependencies inside subtrees. They are updated upstream and
// synced in. See `src/doc/rustc-dev-guide/src/external-repos.md` for the list.
"compiler/rustc_codegen_cranelift/**",
"compiler/rustc_codegen_gcc/**",
"library/compiler-builtins/**",
Expand All @@ -59,6 +74,10 @@
"src/tools/clippy/**",
"src/tools/miri/**",
"src/tools/rust-analyzer/**",
"src/tools/rustfmt/**"
"src/tools/rustfmt/**",

// Test manifests are fixtures; their versions and lockfiles may
// intentionally be part of the test input.
"tests/**",
]
}
Loading