| { | |
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
| "extends": [ | |
| // Use https://github.com/rust-lang/renovate/blob/main/actions.json | |
| "github>rust-lang/renovate:actions", | |
| // Open a PR to migrate the config when Renovate deprecates syntax | |
| ":configMigration", | |
| // Refresh lock files on the first day of each month | |
| // (still gated by dashboard approval for now) | |
| ":maintainLockFilesMonthly", | |
| ], | |
| // Require manual approval from the Dependency Dashboard before opening PRs | |
| "dependencyDashboardApproval": true, | |
| // Renovate shouldn't update a PR if it is in the bors merge queue. | |
| "stopUpdatingLabel": "S-waiting-on-bors", | |
| "packageRules": [ | |
| { | |
| // No dashboard approval necessary for GitHub Actions updates | |
| "matchManagers": ["github-actions"], | |
| "dependencyDashboardApproval": false | |
| } | |
| ], | |
| // 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": [ | |
| "compiler/rustc_codegen_cranelift/**", | |
| "compiler/rustc_codegen_gcc/**", | |
| "library/compiler-builtins/**", | |
| "library/portable-simd/**", | |
| "library/stdarch/**", | |
| "src/doc/rustc-dev-guide/**", | |
| "src/tools/clippy/**", | |
| "src/tools/miri/**", | |
| "src/tools/rust-analyzer/**", | |
| "src/tools/rustfmt/**" | |
| ] | |
| } |