diff --git a/.github/renovate.json5 b/.github/renovate.json5 index cf77c5c6..2b27553b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -7,11 +7,12 @@ enabled: true }, lockFileMaintenance: { - "enabled": true + "enabled": true, + // "automerge": true, disabled due to endless update loops caused by setuptools_scm }, configMigration: true, - commitBodyTable: true, labels: ["dependencies"], + schedule: ["every weekend"], packageRules: [ { matchManagers: ["github-actions"], @@ -26,7 +27,12 @@ { matchManagers: ["pre-commit"], addLabels: ["pre-commit", "continuous integration"], - commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D" + commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D", + }, + { + "description": "Automerge patch updates", + "matchUpdateTypes": ["patch"], + "automerge": true } ] } diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 02b69519..c66841a6 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,9 +6,7 @@ on: - main pull_request_target: types: [opened, reopened, synchronize] - -permissions: - contents: read + merge_group: jobs: update_release_draft: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7462dd94..522116a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ ci: autoupdate_commit_msg: "⬆️🪝 update pre-commit hooks" + autoupdate_schedule: quarterly autofix_commit_msg: "🎨 pre-commit fixes" skip: [mypy]