Skip to content

Commit

Permalink
ci: Automerge minor,patch PRs in non office hours
Browse files Browse the repository at this point in the history
Keep major PRs without automerge, and happening early Mondays.

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad committed Jan 10, 2025
1 parent 6521046 commit 2187113
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,31 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests"
"helpers:pinGitHubActionDigests",
"schedule:nonOfficeHours"
],
"labels": [
"area/dependencies"
],
"major": {
"automerge": false,
"extends": [
"schedule:earlyMondays"
]
},
"minor": {
"automerge": true
},
"patch": {
"automerge": true
},
"lockFileMaintenance": {
"enabled": true,
"schedule": ["before 4am on monday"]
"automerge": true
},
"rebaseWhen": "behind-base-branch",
"automerge": true
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"semanticCommits": "enabled",
"semanticCommitType": "chore"
}

0 comments on commit 2187113

Please sign in to comment.