Skip to content

Commit

Permalink
chore: Tweak renovate bot to avoid nagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Dec 7, 2023
1 parent 25b565f commit d4dd482
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 5 deletions.
43 changes: 43 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Options doc https://docs.renovatebot.com/configuration-options/
// validate with
// docker run --mount type=bind,source=$(pwd)/.github/renovate.json5,target=/usr/src/app/renovate.json5,readonly -it renovate/renovate renovate-config-validator
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"labels": [
"dependency-update"
],
// automerge minor deps
"packageRules": [
{
"description": "Automatically merge minor and patch-level updates",
"matchUpdateTypes": [
// where version is: major.minor.patch
"minor",
"patch"
],
"automerge": true,
// Do not create a PR to avoid PR-related email spam, if tests succeed merge directly
// otherwise make a PR if tests fail
"automergeType": "branch"
}
],
"vulnerabilityAlerts": {
"description": "Automatically merge vulnerability fixes",
"labels": [
"vulnerability-fix"
],
"automerge": true,
},
"dependencyDashboard": true,
"prConcurrentLimit": 10,
"prHourlyLimit": 5,
// Schedule the bot to run before morning
"timezone": "UTC",
"schedule": [
"before 9am"
// "before 9am on monday" // once a week before monday morning
]
}
5 changes: 0 additions & 5 deletions renovate.json

This file was deleted.

0 comments on commit d4dd482

Please sign in to comment.