Skip to content

Commit

Permalink
Modernizing Renovate config (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza authored Sep 26, 2024
1 parent cdce7ce commit 77e5461
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended", ":enablePreCommit", "group:allNonMajor"],
extends: ["config:recommended"],
schedule: ["* 2 * * 1"],
prHourlyLimit: 4,
timezone: "America/Los_Angeles",
rangeStrategy: "widen",
lockFileMaintenance: {
enabled: true,
},
"pre-commit": {
enabled: true,
},
packageRules: [
{
matchUpdateTypes: ["lockFileMaintenance"],
automerge: true,
},
{
// group:allNonMajor, with automerge
groupName: "all non-major dependencies",
groupSlug: "all-minor-patch",
matchPackageNames: ["*"],
matchUpdateTypes: ["minor", "patch"],
automerge: true,
},
],
}
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ repos:
rev: 0.4.15
hooks:
- id: uv-lock
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.96.0
hooks:
- id: renovate-config-validator
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.18.0
hooks:
Expand Down

0 comments on commit 77e5461

Please sign in to comment.