mirror of
https://github.com/cobalt-org/cobalt.rs
synced 2024-11-13 23:47:09 +00:00
be30b1bba0
The overhead for MSRV bumping is a lot lower and its annoying merging all of the PRs (and I don't want these auto-merged)
109 lines
2.4 KiB
Text
109 lines
2.4 KiB
Text
{
|
|
schedule: [
|
|
'before 5am on the first day of the month',
|
|
],
|
|
semanticCommits: 'enabled',
|
|
commitMessageLowerCase: 'never',
|
|
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: [
|
|
'STABLE.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
|
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?STABLE',
|
|
],
|
|
depNameTemplate: 'STABLE',
|
|
packageNameTemplate: 'rust-lang/rust',
|
|
datasourceTemplate: 'github-releases',
|
|
},
|
|
],
|
|
packageRules: [
|
|
{
|
|
commitMessageTopic: 'Rust Stable',
|
|
matchManagers: [
|
|
'custom.regex',
|
|
],
|
|
matchPackageNames: [
|
|
'STABLE',
|
|
],
|
|
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
|
schedule: [
|
|
'* * * * *',
|
|
],
|
|
automerge: true,
|
|
},
|
|
// 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
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchDepTypes: [
|
|
'build-dependencies',
|
|
'dependencies',
|
|
],
|
|
matchCurrentVersion: '>=0.1.0',
|
|
matchUpdateTypes: [
|
|
'patch',
|
|
],
|
|
enabled: false,
|
|
},
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchDepTypes: [
|
|
'build-dependencies',
|
|
'dependencies',
|
|
],
|
|
matchCurrentVersion: '>=1.0.0',
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
],
|
|
enabled: false,
|
|
},
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchDepTypes: [
|
|
'dev-dependencies',
|
|
],
|
|
matchCurrentVersion: '>=0.1.0',
|
|
matchUpdateTypes: [
|
|
'patch',
|
|
],
|
|
automerge: true,
|
|
groupName: 'compatible (dev)',
|
|
},
|
|
{
|
|
matchManagers: [
|
|
'cargo',
|
|
],
|
|
matchDepTypes: [
|
|
'dev-dependencies',
|
|
],
|
|
matchCurrentVersion: '>=1.0.0',
|
|
matchUpdateTypes: [
|
|
'minor',
|
|
'patch',
|
|
],
|
|
automerge: true,
|
|
groupName: 'compatible (dev)',
|
|
},
|
|
],
|
|
}
|