diff --git a/.github/renovate.json b/.github/renovate.json index 229c852..33d4ed3 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,11 +2,28 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "assignees": ["@Boshen"], "automerge": true, + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^rust-toolchain\\.toml?$"], + "matchStrings": [ + "channel\\s*=\\s*\"(?\\d+\\.\\d+(\\.\\d+)?)\"" + ], + "depNameTemplate": "rust", + "lookupNameTemplate": "rust-lang/rust", + "datasourceTemplate": "github-releases" + } + ], "packageRules": [ { "groupName": "github-actions", "matchManagers": ["github-actions"] }, + { + "groupName": "rust toolchain", + "matchManagers": ["regex"], + "matchDepNames": ["rust"] + }, { "groupName": "rust crates", "matchManagers": ["cargo"]