From 4af5a91a0af8b0ab93595b9e4dc43ca52a50c867 Mon Sep 17 00:00:00 2001 From: Max R Date: Tue, 14 Jul 2026 13:22:18 +0200 Subject: [PATCH 1/3] Add Mergify configuration for automatic merges --- .github/mergify.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/mergify.yml diff --git a/.github/mergify.yml b/.github/mergify.yml new file mode 100644 index 0000000..9204610 --- /dev/null +++ b/.github/mergify.yml @@ -0,0 +1,16 @@ +pull_request_rules: +# pre-commit ci won't automerge (see https://github.com/pre-commit-ci/issues/issues/48) +- name: automatic merge for pre-commit ci updates + conditions: + - author=pre-commit-ci[bot] + - title=[pre-commit.ci] pre-commit autoupdate + actions: + merge: + method: squash + +- name: automatic merge for renovate updates + conditions: + - author=renovate[bot] + actions: + merge: + method: squash From 5352a5bda267954eecc18f908ab16a9ad7b2b9dc Mon Sep 17 00:00:00 2001 From: Max R Date: Tue, 14 Jul 2026 13:45:33 +0200 Subject: [PATCH 2/3] Create renovate.json --- .github/renovate.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..dc0f3ce --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "commitMessageAction": "weekly", + "commitMessagePrefix": "[renovate]", + "extends": [ + "config:recommended", + ":disableDependencyDashboard" + ], + "minimumReleaseAge": "7 days", + "packageRules": [ + { + "commitMessageExtra": " ", + "commitMessageSuffix": " ", + "commitMessageTopic": " ", + "groupName": "update", + "matchPackageNames": [ + "*" + ] + } + ], + "prBodyTemplate": "{{{table}}}", + "schedule": [ + "before 6am on monday" + ], + "separateMajorMinor": false, + "separateMultipleMajor": false +} From 6948425c90be23cd96d84e8567a06aa5930da556 Mon Sep 17 00:00:00 2001 From: Max R Date: Tue, 14 Jul 2026 13:46:09 +0200 Subject: [PATCH 3/3] Add pretty-format-json hook to pre-commit config Added pretty-format-json hook with autofix and indent options. --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e20845..d5bae01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,8 @@ repos: hooks: - id: trailing-whitespace - id: end-of-file-fixer + - id: pretty-format-json + args: [--autofix, --indent=2] - id: check-yaml - id: debug-statements - id: double-quote-string-fixer