Skip to content

Commit

Permalink
Migrate renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
vuilleumierc committed Dec 18, 2024
1 parent a75a99a commit 1940c80
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
extends: ["config:base"],
extends: ["config:recommended"],
timezone: "Europe/Zurich",
schedule: "after 5pm on the first day of the month",
labels: ["dependencies"],
Expand All @@ -14,9 +14,10 @@
},
baseBranches: ["master"],
"pre-commit": { enabled: true },
regexManagers: [
customManagers: [
/** Do updates on pre-commit additional dependencies */
{
customType: "regex",
fileMatch: ["^\\.pre\\-commit\\-config\\.yaml$"],
matchStrings: [
" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)",
Expand All @@ -43,10 +44,10 @@
},
/** Group Poetry packages */
{
matchPackagePrefixes: ["poetry-"],
groupName: "Poetry",
automerge: true,
matchDepNames: ["poetry", "pip"],
matchPackageNames: ["poetry-{/,}**"],
},
/** Accept only the patch on stabilization branches */
{
Expand All @@ -69,7 +70,7 @@
},
/** Disable update of Python version in pyproject.toml */
{
matchFiles: ["pyproject.toml"],
matchFileNames: ["pyproject.toml"],
enabled: false,
matchDepNames: ["python"],
},
Expand Down

0 comments on commit 1940c80

Please sign in to comment.