2022-12-01 17:23:46 +00:00
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
schedule: [
|
2023-08-02 16:11:52 +00:00
|
|
|
'before 5am on the first day of the month',
|
2022-12-05 15:36:14 +00:00
|
|
|
],
|
2023-04-17 13:51:48 +00:00
|
|
|
semanticCommits: 'enabled',
|
|
|
|
configMigration: true,
|
|
|
|
dependencyDashboard: true,
|
2023-09-26 13:16:33 +00:00
|
|
|
customManagers: [
|
2023-03-29 19:33:22 +00:00
|
|
|
{
|
2023-08-22 16:07:34 +00:00
|
|
|
customType: 'regex',
|
2023-04-17 13:51:48 +00:00
|
|
|
fileMatch: [
|
|
|
|
'^rust-toolchain\\.toml$',
|
|
|
|
'Cargo.toml$',
|
|
|
|
'clippy.toml$',
|
2023-09-20 13:59:51 +00:00
|
|
|
'^Makefile$',
|
2023-09-20 14:02:55 +00:00
|
|
|
'^tests/derive_ui.rs$',
|
2023-04-17 13:51:48 +00:00
|
|
|
'\\.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 14:54:05 +00:00
|
|
|
},
|
2023-03-29 19:33:22 +00:00
|
|
|
],
|
2023-04-17 13:51:48 +00:00
|
|
|
packageRules: [
|
2023-03-29 19:33:22 +00:00
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
commitMessageTopic: 'MSRV',
|
|
|
|
matchManagers: [
|
2023-12-03 09:19:35 +00:00
|
|
|
'custom.regex',
|
2023-04-17 13:51:48 +00:00
|
|
|
],
|
|
|
|
matchPackageNames: [
|
|
|
|
'rust',
|
|
|
|
],
|
2023-09-20 14:04:52 +00:00
|
|
|
minimumReleaseAge: '252 days', // 6 releases * 6 weeks per release * 7 days per week
|
|
|
|
internalChecksFilter: 'strict',
|
2023-09-26 13:16:47 +00:00
|
|
|
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
2023-08-23 14:24:15 +00:00
|
|
|
schedule: [
|
2023-08-23 14:35:47 +00:00
|
|
|
'* * * * *',
|
2023-08-23 14:24:15 +00:00
|
|
|
],
|
2023-03-29 19:33:22 +00:00
|
|
|
},
|
2022-12-01 17:23:46 +00: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
|
2022-12-01 21:29:31 +00:00
|
|
|
// - Help keep number of versions down by always using latest breaking change
|
2022-12-01 17:23:46 +00:00
|
|
|
// - Have lockfile and manifest in-sync
|
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'build-dependencies',
|
|
|
|
'dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=0.1.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'patch',
|
|
|
|
],
|
|
|
|
enabled: false,
|
2022-12-01 17:23:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'build-dependencies',
|
|
|
|
'dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=1.0.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'minor',
|
|
|
|
],
|
|
|
|
enabled: false,
|
2022-12-01 17:23:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'dev-dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=0.1.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'patch',
|
|
|
|
],
|
|
|
|
automerge: true,
|
|
|
|
groupName: 'compatible (dev)',
|
2022-12-01 21:29:31 +00:00
|
|
|
},
|
|
|
|
{
|
2023-04-17 13:51:48 +00:00
|
|
|
matchManagers: [
|
|
|
|
'cargo',
|
|
|
|
],
|
|
|
|
matchDepTypes: [
|
|
|
|
'dev-dependencies',
|
|
|
|
],
|
|
|
|
matchCurrentVersion: '>=1.0.0',
|
|
|
|
matchUpdateTypes: [
|
|
|
|
'minor',
|
|
|
|
],
|
|
|
|
automerge: true,
|
|
|
|
groupName: 'compatible (dev)',
|
2022-12-01 17:23:46 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|