Skip to content

Commit bc0fb25

Browse files
authored
🔧 update renovate configuration (cda-tum#712)
## 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 <burgholzer@me.com>
1 parent 90fe4fe commit bc0fb25

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/renovate.json5

+10-4
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
enabled: true
88
},
99
lockFileMaintenance: {
10-
"enabled": true
10+
"enabled": true,
11+
// "automerge": true, disabled due to endless update loops caused by setuptools_scm
1112
},
1213
configMigration: true,
13-
commitBodyTable: true,
1414
labels: ["dependencies"],
15+
schedule: ["every weekend"],
1516
packageRules: [
1617
{
1718
matchManagers: ["github-actions"],
18-
addLabels: ["github_actions", "continuous integration"],
19+
addLabels: ["github-actions", "continuous integration"],
1920
commitMessagePrefix: "⬆\uFE0F\uD83D\uDC68\u200D\uD83D\uDCBB"
2021
},
2122
{
@@ -26,7 +27,12 @@
2627
{
2728
matchManagers: ["pre-commit"],
2829
addLabels: ["pre-commit", "continuous integration"],
29-
commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D"
30+
commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D",
31+
},
32+
{
33+
"description": "Automerge patch updates",
34+
"matchUpdateTypes": ["patch"],
35+
"automerge": true
3036
}
3137
]
3238
}

.github/workflows/release-drafter.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66
- main
77
pull_request_target:
88
types: [opened, reopened, synchronize]
9-
10-
permissions:
11-
contents: read
9+
merge_group:
1210

1311
jobs:
1412
update_release_draft:

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
ci:
1111
autoupdate_commit_msg: "⬆️🪝 update pre-commit hooks"
12+
autoupdate_schedule: quarterly
1213
autofix_commit_msg: "🎨 pre-commit fixes"
1314
skip: [mypy]
1415

0 commit comments

Comments
 (0)