2023-03-29 15:33:22 -04:00
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
schedule: [
|
2023-08-02 12:11:52 -04:00
|
|
|
'before 5am on the first day of the month',
|
2023-03-29 15:33:22 -04:00
|
|
|
],
|
2023-04-17 09:51:48 -04:00
|
|
|
semanticCommits: 'enabled',
|
2024-01-02 10:56:35 -05:00
|
|
|
commitMessageLowerCase: 'never',
|
2023-04-17 09:51:48 -04:00
|
|
|
configMigration: true,
|
|
|
|
dependencyDashboard: true,
|
2023-09-26 09:16:33 -04:00
|
|
|
customManagers: [
|
2023-03-29 15:33:22 -04:00
|
|
|
{
|
2023-08-22 12:07:34 -04:00
|
|
|
customType: 'regex',
|
2023-04-17 09:51:48 -04:00
|
|
|
fileMatch: [
|
|
|
|
'^rust-toolchain\\.toml$',
|
|
|
|
'Cargo.toml$',
|
|
|
|
'clippy.toml$',
|
|
|
|
'\\.clippy.toml$',
|
|
|
|
'^\\.github/workflows/ci.yml$',
|
|
|
|
'^\\.github/workflows/rust-next.yml$',
|
|
|
|
],
|
|
|
|
matchStrings: [
|
|
|
|
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
|
|
|
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
|
|
|
|
],
|
|
|
|
depNameTemplate: 'rust',
|
|
|
|
packageNameTemplate: 'rust-lang/rust',
|
|
|
|
datasourceTemplate: 'github-releases',
|
2023-04-17 10:54:05 -04:00
|
|
|
},
|
2023-03-29 15:33:22 -04:00
|
|
|
],
|
2023-04-17 09:51:48 -04:00
|
|
|
packageRules: [
|
2023-03-29 15:33:22 -04:00
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
commitMessageTopic: 'MSRV',
|
|
|
|
matchManagers: [
|
2023-12-03 04:19:35 -05:00
|
|
|
'custom.regex',
|
2023-04-17 09:51:48 -04:00
|
|
|
],
|
|
|
|
matchPackageNames: [
|
|
|
|
'rust',
|
|
|
|
],
|
2023-08-22 12:06:55 -04:00
|
|
|
minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week
|
|
|
|
internalChecksFilter: 'strict',
|
2023-09-26 09:16:47 -04:00
|
|
|
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
2023-08-23 10:24:15 -04:00
|
|
|
schedule: [
|
2023-08-23 10:35:47 -04:00
|
|
|
'* * * * *',
|
2023-08-23 10:24:15 -04:00
|
|
|
],
|
2023-03-29 15:33:22 -04:00
|
|
|
},
|
|
|
|
// Goals:
|
|
|
|
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
|
|
|
// - Take advantage of latest dev-dependencies
|
|
|
|
// - Rollup safe upgrades to reduce CI runner load
|
|
|
|
// - Help keep number of versions down by always using latest breaking change
|
|
|
|
// - Have lockfile and manifest in-sync
|
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'build-dependencies',
|
|
|
|
'dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=0.1.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'patch',
|
|
|
|
],
|
|
|
|
enabled: false,
|
2023-03-29 15:33:22 -04:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'build-dependencies',
|
|
|
|
'dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=1.0.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'minor',
|
2024-01-24 09:40:56 -05:00
|
|
|
'patch',
|
2023-04-17 09:51:48 -04:00
|
|
|
],
|
|
|
|
enabled: false,
|
2023-03-29 15:33:22 -04:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'dev-dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=0.1.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'patch',
|
|
|
|
],
|
|
|
|
automerge: true,
|
|
|
|
groupName: 'compatible (dev)',
|
2023-03-29 15:33:22 -04:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 09:51:48 -04:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'dev-dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=1.0.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'minor',
|
2024-01-24 09:40:56 -05:00
|
|
|
'patch',
|
2023-04-17 09:51:48 -04:00
|
|
|
],
|
|
|
|
automerge: true,
|
|
|
|
groupName: 'compatible (dev)',
|
2023-03-29 15:33:22 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|