diff --git a/.github/renovate.json b/.github/renovate.json index 6e20c3a..7390c03 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -12,5 +12,19 @@ ], "commitMessagePrefix": "chore(deps):", "commitMessageAction": "update", - "commitMessageTopic": "{{depName}} to v{{newVersion}}" -} + "commitMessageTopic": "{{depName}} to v{{newVersion}}", + "customManagers": [ + { + "customType": "regex", + "depNameTemplate": "rust", + "packageNameTemplate": "rust-lang/rust", + "datasourceTemplate": "github-releases", + "managerFilePatterns": [ + "/(^|/)rust-toolchain\\.toml$/" + ], + "matchStrings": [ + "channel\\s*=\\s*\"(?\\d+\\.\\d+(\\.\\d+)?)\"" + ] + } + ] +} \ No newline at end of file