Skip to content

Commit 3ae9b75

Browse files
authored
Improve Renovate config (#794)
1 parent d146ae8 commit 3ae9b75

1 file changed

Lines changed: 38 additions & 3 deletions

File tree

.github/renovate.json5

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["schedule:monthly", "helpers:pinGitHubActionDigestsToSemver"],
3+
"extends": [
4+
"config:recommended",
5+
"schedule:monthly",
6+
"helpers:pinGitHubActionDigestsToSemver",
7+
"replacements:all",
8+
"abandonments:recommended"
9+
],
10+
"configMigration": true,
411
"dependencyDashboard": true,
12+
"separateMajorMinor": false,
13+
14+
// By default, Renovate will only create 2 PRs in any single hourly interval.
15+
// But we only allow Renovate to create PRs between midnight and 4am on the first
16+
// day of each month, so this is not sufficient in general. Per the docs,
17+
// 0 means "no limit": <https://docs.renovatebot.com/configuration-options/#prhourlylimit>
18+
"prHourlyLimit": 0,
19+
20+
// Similarly, by default, Renovate will not create any new PRs if it already has 10 open
21+
// on this repo, but that isn't generally what we want: we generally want dependency update PRs
22+
// for all available dependencies. Per the docs, 0 means "no limit":
23+
// <https://docs.renovatebot.com/configuration-options/#prconcurrentlimit>
24+
"prConcurrentLimit": 0,
25+
26+
// Conventions: we generally don't use semantic commits.
27+
"semanticCommits": "disabled",
28+
29+
// These notifications are very noisy.
30+
"suppressNotifications": ["prEditedNotification"],
31+
532
"enabledManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"],
633
"pre-commit": {
734
"enabled": true
@@ -27,8 +54,16 @@
2754
"enabled": false
2855
},
2956
{
30-
"matchManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"],
31-
"groupName": "CI dependencies"
57+
"matchFileNames": [".pre-commit-config.yaml"],
58+
"groupName": "pre-commit dependencies"
59+
},
60+
{
61+
"matchFileNames": [".github/workflows/**"],
62+
"groupName": "GitHub Actions dependencies"
63+
},
64+
{
65+
"matchManagers": ["pep621"],
66+
"groupName": "Build dependencies"
3267
}
3368
],
3469
"customManagers": [

0 commit comments

Comments
 (0)