From 89586b53786e1a0bf4ff5188710e21a78107f9b6 Mon Sep 17 00:00:00 2001 From: joaolfp Date: Sat, 6 Sep 2025 01:57:54 -0300 Subject: [PATCH] refactor: update renovate to update rust version --- .github/renovate.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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