diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 4568cd4e..8abe7b52 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,6 +1,6 @@ { $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", @@ -8,4 +8,21 @@ 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, + }, + ], } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d97f082..0f38755b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: