Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(config): migrate renovate config #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
configMigration: true,
dependencyDashboard: false,
ignorePaths: [
"**/tests/**",
'**/tests/**',
],
customManagers: [
{
Expand All @@ -18,7 +18,7 @@
'\bMSRV:1\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:1\b',
],
depNameTemplate: 'MSRV:1', // Support 1 version of rustc
depNameTemplate: 'MSRV:1',
packageNameTemplate: 'rust-lang/rust',
datasourceTemplate: 'github-releases',
},
Expand All @@ -31,7 +31,7 @@
'\bMSRV:3\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:3\b',
],
depNameTemplate: 'MSRV:3', // Support 3 versions of rustc
depNameTemplate: 'MSRV:3',
packageNameTemplate: 'rust-lang/rust',
datasourceTemplate: 'github-releases',
},
Expand All @@ -40,7 +40,7 @@
{
commitMessageTopic: 'MSRV (1 version)',
matchManagers: [
'regex',
'custom.regex',
],
matchPackageNames: [
'MSRV:1',
Expand All @@ -53,22 +53,19 @@
{
commitMessageTopic: 'MSRV (3 versions)',
matchManagers: [
'regex',
'custom.regex',
],
matchPackageNames: [
'MSRV:3',
],
"extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
extractVersion: '^(?<version>\\d+\\.\\d+)',
schedule: [
'* * * * *',
],
minimumReleaseAge: '85 days', // 2 releases back * 6 weeks per release * 7 days per week + 1
minimumReleaseAge: '85 days',
internalChecksFilter: 'strict',
groupName: 'msrv',
},
// Goals:
// - Rollup safe upgrades to reduce CI runner load
// - Have lockfile and manifest in-sync (implicit rules)
{
matchManagers: [
'cargo',
Expand Down