Skip to content

Commit 4d7890a

Browse files
renovate[bot]nicholasbishop
authored andcommitted
Add renovate config
This config sets up renovate bot to: * Run once per week * Update Cargo.lock with the latest compatible versions. These PRs will be merged automatically if the tests pass. * For dep updates that are already semver-compatible with the version in Cargo.toml, no changes will be made (except for the lockfile as described above). So, for example, we won't get PRs to update log-0.4.5 to 0.4.21 in Cargo.toml, because that's already semver-compat and covered by the lockfile change. * For dep updates that are not semver-compat, a PR will be created. * Updates of the `typos` action will be merged automatically if the tests pass, since that action gets updated a lot and is low-risk to merge without human oversight.
1 parent 39a282d commit 4d7890a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/renovate.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
"schedule:weekly"
6+
],
7+
"lockFileMaintenance": {
8+
"enabled": true,
9+
"automerge": true
10+
},
11+
"rangeStrategy": "replace",
12+
"packageRules": [
13+
{
14+
"matchPackageNames": ["crate-ci/typos"],
15+
"automerge": true
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)