mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
70 lines
1.6 KiB
Text
70 lines
1.6 KiB
Text
{
|
|
schedule: [
|
|
'before 5am on the first day of the month',
|
|
],
|
|
semanticCommits: 'enabled',
|
|
configMigration: true,
|
|
dependencyDashboard: true,
|
|
customManagers: [
|
|
{
|
|
customType: 'regex',
|
|
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',
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
commitMessageTopic: 'MSRV',
|
|
matchManagers: [
|
|
'custom.regex',
|
|
],
|
|
matchPackageNames: [
|
|
'rust',
|
|
],
|
|
minimumReleaseAge: '126 days', // 3 releases * 6 weeks per release * 7 days per week
|
|
internalChecksFilter: 'strict',
|
|
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
|
schedule: [
|
|
'* * * * *',
|
|
],
|
|
},
|
|
// Goals:
|
|
// - Rollup safe upgrades to reduce CI runner load
|
|
// - Have lockfile and manifest in-sync
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchCurrentVersion: '>=0.1.0',
|
|
matchUpdateTypes: [
|
|
'patch',
|
|
],
|
|
automerge: true,
|
|
groupName: 'compatible',
|
|
},
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchCurrentVersion: '>=1.0.0',
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
],
|
|
automerge: true,
|
|
groupName: 'compatible',
|
|
},
|
|
],
|
|
}
|