diff --git a/renovate.json5 b/renovate.json5 index c19c9f77..7d9ecead 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -53,4 +53,16 @@ customChangelogUrl: "https://github.com/charliermarsh/ruff", }, ], + + // https://docs.renovatebot.com/configuration-options/#custommanagers + customManagers: [ + { + description: "Update Ruff in Cargo.toml", + customType: "regex", + fileMatch: ["^Cargo\\.toml$"], + matchStrings: ['git = "https:\/\/github.com\/astral-sh\/ruff", tag = "v(?.*?)"'], + datasourceTemplate: "pypi", + depNameTemplate: "ruff", + }, + ], }