Skip to content

Commit 7a36f92

Browse files
authored
github: Reconfigure Renovate to group updates (#770)
* github: Convert renovate.json to json5 to allow comments * github: Reconfigure Renovate to group updates * github: Use matchManagers for github-actions
1 parent 9e3240b commit 7a36f92

File tree

2 files changed

+41
-11
lines changed

2 files changed

+41
-11
lines changed

.github/renovate.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/renovate.json5

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"branchPrefix": "users/renovate/",
4+
"timezone": "US/Central",
5+
"extends": [
6+
"config:recommended",
7+
"helpers:pinGitHubActionDigestsToSemver",
8+
":enableVulnerabilityAlerts"
9+
],
10+
"packageRules": [
11+
{
12+
// Update GitHub Actions on weekends.
13+
"matchManagers": ["github-actions"],
14+
"groupName": "GitHub Actions",
15+
"groupSlug": "github",
16+
"schedule": [
17+
"* * * * 0,6"
18+
]
19+
},
20+
{
21+
// Update Python packages on weekends, separate from lockFileMaintenance.
22+
"matchCategories": ["python"],
23+
"matchUpdateTypes": ["major", "minor", "patch", "rollback", "replacement"],
24+
"groupName": "Python packages",
25+
"groupSlug": "python",
26+
"schedule": [
27+
"* * * * 0,6"
28+
]
29+
}
30+
],
31+
"lockFileMaintenance": {
32+
// Maintain lock files on early Tuesday mornings. This is primarily to
33+
// update indirect dependencies that aren't handled by the Python packages
34+
// group.
35+
"enabled": true,
36+
"schedule": [
37+
"* 0-3 * * 2"
38+
]
39+
},
40+
"osvVulnerabilityAlerts": true
41+
}

0 commit comments

Comments
 (0)