|
31 | 31 | "dependencyDashboardApproval": false |
32 | 32 | }, |
33 | 33 | { |
34 | | - // Only maintain the Cargo lockfiles managed by update-lockfile.sh. |
| 34 | + // Update all Cargo.lock files except library/Cargo.lock in one PR. |
35 | 35 | "matchManagers": ["cargo"], |
36 | 36 | "matchUpdateTypes": ["lockFileMaintenance"], |
37 | | - "enabled": false |
| 37 | + "groupName": "Cargo lock file maintenance", |
| 38 | + "commitMessageAction": "Cargo lock file maintenance" |
| 39 | + }, |
| 40 | + { |
| 41 | + // Update library/Cargo.lock in a dedicated PR. |
| 42 | + "matchManagers": ["cargo"], |
| 43 | + "matchUpdateTypes": ["lockFileMaintenance"], |
| 44 | + "matchFileNames": ["library/Cargo.lock"], |
| 45 | + "groupName": "library lock file maintenance", |
| 46 | + "commitMessageAction": "Library lock file maintenance" |
38 | 47 | }, |
39 | 48 | { |
| 49 | + // These packages don't have a committed Cargo.lock file. |
40 | 50 | "matchManagers": ["cargo"], |
41 | 51 | "matchUpdateTypes": ["lockFileMaintenance"], |
42 | 52 | "matchFileNames": [ |
43 | | - "Cargo.toml", |
44 | | - "library/Cargo.toml", |
45 | | - "src/tools/rustbook/Cargo.toml" |
| 53 | + "library/rustc-std-workspace-*/Cargo.toml", |
46 | 54 | ], |
47 | | - "enabled": true |
| 55 | + "enabled": false |
| 56 | + }, |
| 57 | + { |
| 58 | + // Update yarn.lock in a dedicated PR. |
| 59 | + "matchManagers": ["npm"], |
| 60 | + "matchUpdateTypes": ["lockFileMaintenance"], |
| 61 | + "groupName": "Yarn lock file maintenance", |
| 62 | + "commitMessageAction": "Yarn lock file maintenance" |
48 | 63 | } |
49 | 64 | ], |
50 | | - // Don't manage dependencies inside subtrees. They are updated upstream and |
51 | | - // synced in. See `src/doc/rustc-dev-guide/src/external-repos.md` for the list. |
52 | 65 | "ignorePaths": [ |
| 66 | + // Don't manage dependencies inside subtrees. They are updated upstream and |
| 67 | + // synced in. See `src/doc/rustc-dev-guide/src/external-repos.md` for the list. |
53 | 68 | "compiler/rustc_codegen_cranelift/**", |
54 | 69 | "compiler/rustc_codegen_gcc/**", |
55 | 70 | "library/compiler-builtins/**", |
|
59 | 74 | "src/tools/clippy/**", |
60 | 75 | "src/tools/miri/**", |
61 | 76 | "src/tools/rust-analyzer/**", |
62 | | - "src/tools/rustfmt/**" |
| 77 | + "src/tools/rustfmt/**", |
| 78 | + |
| 79 | + // Test manifests are fixtures; their versions and lockfiles may |
| 80 | + // intentionally be part of the test input. |
| 81 | + "tests/**", |
63 | 82 | ] |
64 | 83 | } |
0 commit comments