Skip to content

Commit

Permalink
ci(renovate): enable pre-commit support (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Sep 6, 2024
1 parent e2f3adf commit 6b7fa70
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
// Configuration file for RenovateBot: https://docs.renovatebot.com/configuration-options
extends: ["config:recommended", ":semanticCommitTypeAll(build)"],
extends: ["config:recommended", ":semanticCommitTypeAll(build)", ":enablePreCommit"],
labels: ["dependencies"], // For convenient searching in GitHub
baseBranches: ["$default", "/^hotfix\\/.*/"],
pip_requirements: {
fileMatch: ["^tox.ini$", "(^|/)requirements([\\w-]*)\\.txt$", "^.pre-commit-config.yaml$"]
fileMatch: ["^tox.ini$", "(^|/)requirements([\\w-]*)\\.txt$"]
},
packageRules: [
{
Expand Down Expand Up @@ -135,16 +135,6 @@
"# renovate: datasource=(?<datasource>\\S+)\n\\s+(?<depName>.*?)(\\[[\\w]*\\])*[=><]=?(?<currentValue>.*?)\n"
]
},
{
// .pre-commit-config.yaml version updates
fileMatch: [".pre-commit-config.yaml"],
customType: "regex",
datasourceTemplate: "pypi",
depTypeTemplate: "lint",
matchStrings: [
"- repo: .*/<(?<depName>\\S+)\\s*\\n\\s*rev:\s+\"?v?(?<currentValue>\\S*)\"?",
]
}
],
timezone: "Etc/UTC",
schedule: ["every weekend"],
Expand Down

0 comments on commit 6b7fa70

Please sign in to comment.