refactor: setup renovate to manage dependencies
This should make it easier to keep the repo up to date.
This commit is contained in:
parent
f6084449fa
commit
69fde96f67
3 changed files with 48 additions and 3 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{nix,toml,json}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.rs]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
34
.renovaterc.json
Normal file
34
.renovaterc.json
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"assignees": [
|
||||||
|
"jalil"
|
||||||
|
],
|
||||||
|
"automerge": true,
|
||||||
|
"automergeStrategy": "fast-forward",
|
||||||
|
"automergeType": "pr",
|
||||||
|
"commitBodyTable": true,
|
||||||
|
"dependencyDashboard": true,
|
||||||
|
"extends": [
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"prCreation": "immediate",
|
||||||
|
"cargo": {
|
||||||
|
"commitMessageTopic": "Rust crate {{depName}}",
|
||||||
|
"fileMatch": [
|
||||||
|
"(^|/)Cargo\\.toml$"
|
||||||
|
],
|
||||||
|
"versioning": "cargo",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"nix": {
|
||||||
|
"fileMatch": [
|
||||||
|
"(^|/)flake\\.nix$"
|
||||||
|
],
|
||||||
|
"commitMessageTopic": "flake inputs",
|
||||||
|
"commitMessageExtra": "to {{newValue}}",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"automergeSchedule": [
|
||||||
|
"* 0-1 * * *"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
|
||||||
}
|
|
Loading…
Reference in a new issue