Skip to content

Commit

Permalink
🔧 update renovate configuration (#467)
Browse files Browse the repository at this point in the history
## Description

Small tweaks to the renovate configuration to slighlty reduce the
frequency of updates and enabling automerge for patch version updates.

## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.

---------

Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer authored Sep 29, 2024
1 parent a9026c7 commit b332365
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand All @@ -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
}
]
}
4 changes: 1 addition & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:
- main
pull_request_target:
types: [opened, reopened, synchronize]

permissions:
contents: read
merge_group:

jobs:
update_release_draft:
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

ci:
autoupdate_commit_msg: "⬆️🪝 update pre-commit hooks"
autoupdate_schedule: quarterly
autofix_commit_msg: "🎨 pre-commit fixes"
skip: [mypy]

Expand Down

0 comments on commit b332365

Please sign in to comment.