Skip to content

Commit 4180bc0

Browse files
renovate[bot]Michael Johansen
andauthored
Configure Renovate (#10)
* Add renovate.json * Configure renovate. Signed-off-by: Michael Johansen <[email protected]> --------- Signed-off-by: Michael Johansen <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Johansen <[email protected]>
1 parent eabdf65 commit 4180bc0

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/renovate.json5

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
"git-submodules": {
11+
"automerge": true,
12+
"enabled": true
13+
},
14+
"packageRules": [
15+
{
16+
// Update ni-apis on early Monday mornings.
17+
"matchDepNames": ["third_party/ni-apis"],
18+
"extends": ["schedule:weekly"]
19+
},
20+
{
21+
// Update GitHub Actions on weekends.
22+
"matchManagers": ["github-actions"],
23+
"groupName": "GitHub Actions",
24+
"groupSlug": "github",
25+
"schedule": [
26+
"* * * * 0,6"
27+
]
28+
},
29+
{
30+
// Update Python packages on weekends, separate from lockFileMaintenance.
31+
"matchCategories": ["python"],
32+
"matchUpdateTypes": ["major", "minor", "patch", "rollback", "replacement"],
33+
"groupName": "Python packages",
34+
"groupSlug": "python",
35+
"schedule": [
36+
"* * * * 0,6"
37+
]
38+
}
39+
],
40+
"lockFileMaintenance": {
41+
// Maintain lock files on early Tuesday mornings. This is primarily to
42+
// update indirect dependencies that aren't handled by the Python packages
43+
// group.
44+
"enabled": true,
45+
"schedule": [
46+
"* 0-3 * * 2"
47+
]
48+
},
49+
"osvVulnerabilityAlerts": true
50+
}

0 commit comments

Comments
 (0)