Skip to content

Commit

Permalink
ci(renovate): add rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed May 2, 2024
1 parent 9b1cb27 commit 9dbe7f4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": ["@Boshen"],
"automerge": true,
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^rust-toolchain\\.toml?$"],
"matchStrings": [
"channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
],
"depNameTemplate": "rust",
"lookupNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"groupName": "github-actions",
Expand All @@ -10,6 +22,11 @@
{
"groupName": "rust crates",
"matchManagers": ["cargo"]
},
{
"groupName": "rust toolchain",
"matchManagers": ["regex"],
"matchDepNames": ["rust"]
}
]
}

0 comments on commit 9dbe7f4

Please sign in to comment.