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 3c754da commit 2312341
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 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,12 @@
{
"groupName": "rust crates",
"matchManagers": ["cargo"]
},
{
"groupName": "rust toolchain",
"matchManagers": ["regex"],
"matchDepNames": ["rust"]
}

]
}

0 comments on commit 2312341

Please sign in to comment.