Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: add rust-toolchain auto update config (#6794)

Brooooooklynb2b99ab9dfce
diff --git a/.github/renovate.json b/.github/renovate.json
index 90d44ba89f..f63c2f0538 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -69,6 +69,11 @@
"matchPackagePatterns": ["*"],
"rangeStrategy": "replace",
"excludePackagePatterns": ["^@blocksuite/"]
+ },
+ {
+ "groupName": "rust toolchain",
+ "matchManagers": ["custom.regex"],
+ "matchPackageNames": ["rustc"]
}
],
"commitMessagePrefix": "chore: ",
@@ -79,5 +84,17 @@
"lockFileMaintenance": {
"enabled": true,
"extends": ["schedule:weekly"]
- }
+ },
+ "customManagers": [
+ {
+ "customType": "regex",
+ "fileMatch": ["^rust-toolchain\\.toml?$"],
+ "matchStrings": [
+ "channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
+ ],
+ "depNameTemplate": "rustc",
+ "packageNameTemplate": "rust-lang/rust",
+ "datasourceTemplate": "github-releases"
+ }
+ ]
}