Skip to content

Commit 56d79c6

Browse files
committed
fix: match custom.regex deps and add release age to runners
1 parent 191b2c6 commit 56d79c6

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

renovate.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,36 @@
7878
"minimumReleaseAge": "3 days",
7979
"automerge": true
8080
},
81+
{
82+
"description": "npm packages pinned in .pre-commit-config.yaml additional_dependencies. These come from the custom regex manager, which renovate names custom.regex, so the pre-commit rule above does not reach them.",
83+
"matchManagers": ["custom.regex"],
84+
"matchDatasources": ["npm"],
85+
"matchUpdateTypes": ["minor", "patch"],
86+
"minimumReleaseAge": "3 days",
87+
"automerge": true
88+
},
8189
{
8290
"description": "CI runner images.",
8391
"matchDatasources": ["github-runners"],
8492
"matchUpdateTypes": ["minor", "patch", "pin"],
93+
"minimumReleaseAge": "3 days",
8594
"automerge": true
8695
},
8796
{
88-
"description": "Dev-group tooling (pytest-hacc, mypy) and the uv pin. Safe only because manifest.json requirements is empty; repos that ship runtime deps deny those by name after this. Both manager names are listed because sibling repos use each and both validate.",
97+
"description": "Dev-group tooling (pytest-hacc, mypy) from the native manager. Safe only because manifest.json requirements is empty; repos that ship runtime deps deny those by name after this. Both manager names are listed because sibling repos use each and both validate.",
8998
"matchManagers": ["pep621", "uv"],
9099
"matchUpdateTypes": ["minor", "patch"],
91100
"minimumReleaseAge": "3 days",
92101
"automerge": true
93102
},
103+
{
104+
"description": "The uv required-version pin in [tool.uv], which comes from the custom regex manager rather than the native pep621/uv managers and so is not covered by the rule above. Scoped by depName so it does not sweep in the other custom.regex managers.",
105+
"matchManagers": ["custom.regex"],
106+
"matchDepNames": ["uv"],
107+
"matchUpdateTypes": ["minor", "patch"],
108+
"minimumReleaseAge": "3 days",
109+
"automerge": true
110+
},
94111
{
95112
"description": "Majors always get a human. Must stay last to override every opt-in above.",
96113
"matchUpdateTypes": ["major"],

0 commit comments

Comments
 (0)