Skip to content

Commit 364f0a5

Browse files
Rollup merge of #158086 - Turbo87:renovate-config, r=marcoieni
renovate: Loosen dashboard approval and adopt recommended config Follow-up tweaks to the Renovate config now that the GitHub Actions setup has proven stable. - GitHub Actions updates no longer need Dependency Dashboard approval. The gate was added while we dialed in the config, and the `github-actions` manager now works well enough for those PRs to open on their own. Everything else still requires approval. - Monthly lock file maintenance is now enabled. It stays behind dashboard approval for the time being. - The config extends [`config:recommended`](https://docs.renovatebot.com/presets-config/#configrecommended), which brings changelog links, sensible grouping, `replacements` and `workarounds`. That makes the previously explicit `dependencyDashboard: true` redundant, so it's gone. - Config migration PRs are enabled so Renovate can keep the config up to date as options get deprecated.
2 parents 678c7f2 + 5db91c4 commit 364f0a5

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/renovate.json5

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4+
"config:recommended",
5+
// Open a PR to migrate the config when Renovate deprecates syntax
6+
":configMigration",
7+
// Refresh lock files on the first day of each month
8+
// (still gated by dashboard approval for now)
9+
":maintainLockFilesMonthly",
410
// Pin GitHub Actions to their commit SHA digests, resolving floating tags
511
// (e.g. `v4`) to the full SemVer version (e.g. `v4.1.2`)
612
"helpers:pinGitHubActionDigestsToSemver"
713
],
8-
// Let Renovatebot keep an opened issue that tracks our dependencies
9-
"dependencyDashboard": true,
1014
// Require manual approval from the Dependency Dashboard before opening PRs
1115
"dependencyDashboardApproval": true,
16+
"packageRules": [
17+
{
18+
// No dashboard approval necessary for GitHub Actions updates
19+
"matchManagers": ["github-actions"],
20+
"dependencyDashboardApproval": false
21+
}
22+
],
1223
// Don't manage dependencies inside subtrees. They are updated upstream and
1324
// synced in. See `src/doc/rustc-dev-guide/src/external-repos.md` for the list.
1425
"ignorePaths": [

0 commit comments

Comments
 (0)