mirror of
https://github.com/starship/starship.git
synced 2024-12-15 11:50:48 +01:00
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
// stripped-down config:base
|
|
":prHourlyLimit2",
|
|
":prConcurrentLimit10",
|
|
"group:monorepos",
|
|
"group:recommended",
|
|
"workarounds:all",
|
|
// automerge minor updates
|
|
":automergeMinor",
|
|
],
|
|
"labels": ["📦 dependencies"],
|
|
"semanticCommits": "enabled",
|
|
"semanticCommitType": "build",
|
|
"rangeStrategy": "bump",
|
|
"packageRules": [
|
|
// group updates to related packages
|
|
{
|
|
"groupName": "clap crates",
|
|
"matchDatasources": ["crate"],
|
|
"matchPackagePrefixes": ["clap"]
|
|
},
|
|
{
|
|
"groupName": "gitoxide crates",
|
|
"matchDatasources": ["crate"],
|
|
"matchPackagePrefixes": ["git"]
|
|
},
|
|
{
|
|
"groupName": "pest crates",
|
|
"matchDatasources": ["crate"],
|
|
"matchPackagePrefixes": ["pest"]
|
|
},
|
|
{
|
|
"groupName": "toml crates",
|
|
"matchDatasources": ["crate"],
|
|
"matchPackagePrefixes": ["toml"]
|
|
},
|
|
{
|
|
"groupName": "unicode crates",
|
|
"matchDatasources": ["crate"],
|
|
"matchPackagePrefixes": ["unicode"]
|
|
},
|
|
{
|
|
"groupName": "dprint plugins",
|
|
"matchPackagePrefixes": ["dprint"],
|
|
"extends": ["schedule:weekly"]
|
|
},
|
|
{
|
|
"groupName": "npm",
|
|
"matchDatasources": ["npm"],
|
|
"extends": ["schedule:weekly"]
|
|
},
|
|
// Update (rust) lockfiles weekly
|
|
{
|
|
"matchDatasources": ["crate"],
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"extends": ["schedule:weekly"]
|
|
}
|
|
}
|
|
],
|
|
// custom regex update managers
|
|
"regexManagers": [
|
|
{
|
|
"fileMatch": ["(^|\\/)\\.?dprint.json"],
|
|
"matchStrings": ["\"https://github.com/(?<depName>.+)/releases/download/(?<currentValue>.+)/plugin.wasm\""],
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"fileMatch": ["^(workflow-templates|\\.github\\/workflows)\\/[^/]+\\.ya?ml$"],
|
|
"matchStrings": ["cargo install.*--version (?<currentValue>\\S+).*\\s(?<depName>\\S+)"],
|
|
"datasourceTemplate": "crate"
|
|
}
|
|
]
|
|
}
|