Skip to content

Commit 561a7a0

Browse files
committed
chore(renovate): overhaul dependency update config
1 parent 809d5e6 commit 561a7a0

1 file changed

Lines changed: 24 additions & 12 deletions

File tree

‎.github/renovate.json‎

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,33 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
34
"config:best-practices",
4-
":dependencyDashboard",
5-
"group:monorepos",
6-
"group:recommended"
5+
"helpers:pinGitHubActionDigestsToSemver"
76
],
8-
"enabledManagers": ["pep621", "github-actions"],
9-
"pep621": {
10-
"enabled": true
11-
},
12-
"rangeStrategy": "replace",
13-
"schedule": ["* 8 * * 1-5"],
14-
"labels": ["dependencies"],
7+
"timezone": "Europe/London",
8+
"schedule": ["after 9am and before 5pm every weekday"],
9+
"dependencyDashboard": true,
10+
"assignees": ["harryswift01", "jimboid"],
11+
"minimumReleaseAge": "3 days",
1512
"packageRules": [
1613
{
17-
"matchUpdateTypes": ["minor", "patch"],
18-
"automerge": false
14+
"matchManagers": ["github-actions"],
15+
"groupName": "GitHub Actions",
16+
"addLabels": ["ci", "dependencies"]
17+
},
18+
{
19+
"matchManagers": ["pep621"],
20+
"matchDepTypes": ["project.dependencies"],
21+
"rangeStrategy": "widen",
22+
"groupName": "Software Production Dependencies",
23+
"addLabels": ["python", "production-deps"]
24+
},
25+
{
26+
"matchManagers": ["pep621"],
27+
"matchDepTypes": ["project.optional-dependencies", "build-system.requires"],
28+
"rangeStrategy": "replace",
29+
"groupName": "Python CI and Dev Tools",
30+
"addLabels": ["python", "dev-dependencies"]
1931
}
2032
]
2133
}

0 commit comments

Comments
 (0)