Skip to content

Commit 608f8ff

Browse files
authored
Update renovate configuration (#3379)
1 parent 518b61d commit 608f8ff

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

.github/renovate.json5

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
suppressNotifications: ["prEditedNotification"],
55
extends: ["github>astral-sh/renovate-config"],
66
labels: ["internal"],
7-
schedule: ["before 4am on Monday"],
7+
schedule: ["before 4am on Wednesday"],
88
semanticCommits: "disabled",
99
separateMajorMinor: false,
1010
prHourlyLimit: 10,
11-
enabledManagers: ["github-actions", "pre-commit"],
11+
enabledManagers: ["github-actions", "pre-commit", "custom.regex"],
1212
"pre-commit": {
1313
enabled: true,
1414
},
@@ -46,7 +46,25 @@
4646
groupName: "prek dependencies",
4747
matchManagers: ["pre-commit"],
4848
description: "Weekly update of prek dependencies",
49-
}
49+
},
50+
{
51+
matchManagers: ["custom.regex"],
52+
matchDepNames: ["maturin"],
53+
commitMessageTopic: "maturin",
54+
},
55+
],
56+
customManagers: [
57+
// Maturin version used in maturin-action
58+
{
59+
customType: "regex",
60+
managerFilePatterns: [
61+
"/.github/workflows/build-binaries\\.yml$/",
62+
],
63+
matchStrings: ["maturin-version: (?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
64+
depNameTemplate: "maturin",
65+
packageNameTemplate: "PyO3/maturin",
66+
datasourceTemplate: "github-releases",
67+
},
5068
],
5169
vulnerabilityAlerts: {
5270
commitMessageSuffix: "",

0 commit comments

Comments
 (0)