mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
style(ci): Match auto-generated style
This will make reviewing auto-update PRs easier
This commit is contained in:
parent
f7b990b803
commit
4163ad78c7
1 changed files with 76 additions and 46 deletions
122
.github/renovate.json5
vendored
122
.github/renovate.json5
vendored
|
@ -1,35 +1,39 @@
|
||||||
{
|
{
|
||||||
"schedule": [
|
schedule: [
|
||||||
"before 3am on the first day of the month"
|
'before 3am on the first day of the month'
|
||||||
],
|
],
|
||||||
"semanticCommits": "enabled",
|
semanticCommits: 'enabled',
|
||||||
"configMigration": true,
|
configMigration: true,
|
||||||
"dependencyDashboard": true,
|
dependencyDashboard: true,
|
||||||
"regexManagers": [
|
regexManagers: [
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
fileMatch: [
|
||||||
"^rust-toolchain\\.toml$",
|
'^rust-toolchain\\.toml$',
|
||||||
"Cargo.toml$",
|
'Cargo.toml$',
|
||||||
"clippy.toml$",
|
'clippy.toml$',
|
||||||
"\\.clippy.toml$",
|
'\\.clippy.toml$',
|
||||||
"^\\.github/workflows/ci.yml$",
|
'^\\.github/workflows/ci.yml$',
|
||||||
"^\\.github/workflows/rust-next.yml$",
|
'^\\.github/workflows/rust-next.yml$',
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
matchStrings: [
|
||||||
"MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)",
|
'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
|
||||||
"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV",
|
'(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV',
|
||||||
],
|
],
|
||||||
"depNameTemplate": "rust",
|
depNameTemplate: 'rust',
|
||||||
"packageNameTemplate": "rust-lang/rust",
|
packageNameTemplate: 'rust-lang/rust',
|
||||||
"datasourceTemplate": "github-releases",
|
datasourceTemplate: 'github-releases',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
packageRules: [
|
||||||
{
|
{
|
||||||
"commitMessageTopic": "MSRV",
|
commitMessageTopic: 'MSRV',
|
||||||
"matchManagers": ["regex"],
|
matchManagers: [
|
||||||
"matchPackageNames": ["rust"],
|
'regex',
|
||||||
"stabilityDays": 126, // 3 releases * 6 weeks per release * 7 days per week
|
],
|
||||||
|
matchPackageNames: [
|
||||||
|
'rust',
|
||||||
|
],
|
||||||
|
stabilityDays: 126, // 3 releases * 6 weeks per release * 7 days per week
|
||||||
},
|
},
|
||||||
// Goals:
|
// Goals:
|
||||||
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
// - Keep version reqs low, ignoring compatible normal/build dependencies
|
||||||
|
@ -38,34 +42,60 @@
|
||||||
// - Help keep number of versions down by always using latest breaking change
|
// - Help keep number of versions down by always using latest breaking change
|
||||||
// - Have lockfile and manifest in-sync
|
// - Have lockfile and manifest in-sync
|
||||||
{
|
{
|
||||||
"matchManagers": ["cargo"],
|
matchManagers: [
|
||||||
"matchDepTypes": ["build-dependencies", "dependencies"],
|
'cargo',
|
||||||
"matchCurrentVersion": ">=0.1.0",
|
],
|
||||||
"matchUpdateTypes": ["patch"],
|
matchDepTypes: [
|
||||||
"enabled": false,
|
'build-dependencies',
|
||||||
|
'dependencies',
|
||||||
|
],
|
||||||
|
matchCurrentVersion: '>=0.1.0',
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'patch',
|
||||||
|
],
|
||||||
|
enabled: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["cargo"],
|
matchManagers: [
|
||||||
"matchDepTypes": ["build-dependencies", "dependencies"],
|
'cargo',
|
||||||
"matchCurrentVersion": ">=1.0.0",
|
],
|
||||||
"matchUpdateTypes": ["minor"],
|
matchDepTypes: [
|
||||||
"enabled": false,
|
'build-dependencies',
|
||||||
|
'dependencies',
|
||||||
|
],
|
||||||
|
matchCurrentVersion: '>=1.0.0',
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'minor',
|
||||||
|
],
|
||||||
|
enabled: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["cargo"],
|
matchManagers: [
|
||||||
"matchDepTypes": ["dev-dependencies"],
|
'cargo',
|
||||||
"matchCurrentVersion": ">=0.1.0",
|
],
|
||||||
"matchUpdateTypes": ["patch"],
|
matchDepTypes: [
|
||||||
"automerge": true,
|
'dev-dependencies',
|
||||||
"groupName": "compatible (dev)",
|
],
|
||||||
|
matchCurrentVersion: '>=0.1.0',
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'patch',
|
||||||
|
],
|
||||||
|
automerge: true,
|
||||||
|
groupName: 'compatible (dev)',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["cargo"],
|
matchManagers: [
|
||||||
"matchDepTypes": ["dev-dependencies"],
|
'cargo',
|
||||||
"matchCurrentVersion": ">=1.0.0",
|
],
|
||||||
"matchUpdateTypes": ["minor"],
|
matchDepTypes: [
|
||||||
"automerge": true,
|
'dev-dependencies',
|
||||||
"groupName": "compatible (dev)",
|
],
|
||||||
|
matchCurrentVersion: '>=1.0.0',
|
||||||
|
matchUpdateTypes: [
|
||||||
|
'minor',
|
||||||
|
],
|
||||||
|
automerge: true,
|
||||||
|
groupName: 'compatible (dev)',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue