From 003c2960c695b57f6d8ec6fc77a085bf37f2b8c3 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 13 Apr 2024 12:57:44 +0800 Subject: [PATCH] chore: add auto rust-toolchain.toml version update --- .github/renovate.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 81eda38383a85..22d6a70a87b9a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -6,11 +6,27 @@ "crates/oxc_linter/fixtures/**" ], "assignees": ["@Boshen"], + "regexManagers": [ + { + "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"], + "matchPackageNames": ["rust"] + }, { "groupName": "rust crates", "matchManagers": ["cargo"],