Skip to content

Commit 01fb1ae

Browse files
committed
github: Group+schedule GHA and Python updates and disable automerge
1 parent f11d190 commit 01fb1ae

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

.github/renovate.json5

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"branchPrefix": "users/renovate/",
4+
"timezone": "US/Central",
45
"extends": [
56
"config:recommended",
6-
":maintainLockFilesWeekly",
7-
":automergePatch",
8-
"schedule:automergeDaily",
97
"helpers:pinGitHubActionDigestsToSemver",
108
":enableVulnerabilityAlerts"
119
],
1210
"packageRules": [
1311
{
14-
// Do not update Python packages when new versions are released. Instead,
15-
// let lock file maintenance update them once a week.
16-
"enabled": false,
17-
"matchCategories": ["python"]
12+
// Update GitHub Actions on weekends.
13+
"matchCategories": ["github-actions"],
14+
"groupName": "GitHub Actions",
15+
"groupSlug": "github",
16+
"schedule": [
17+
"* * * * 0,6"
18+
]
19+
},
20+
{
21+
// Update Python packages on weekends.
22+
"matchCategories": ["python"],
23+
"groupName": "Python packages",
24+
"groupSlug": "python",
25+
"schedule": [
26+
"* * * * 0,6"
27+
]
1828
}
1929
],
30+
"lockFileMaintenance": {
31+
// Maintain lock files on early Tuesday mornings. This is primarily to
32+
// update indirect dependencies that aren't handled by the Python packages
33+
// group.
34+
"enabled": true,
35+
"schedule": [
36+
"* 0-3 * * 2"
37+
]
38+
},
2039
"osvVulnerabilityAlerts": true
2140
}

0 commit comments

Comments
 (0)