Skip to content

Commit

Permalink
chore: Configure Renovate (#130)
Browse files Browse the repository at this point in the history
* Add renovate.json

* chore: update renovate configuration

Add recommended config extension, dependency labels, and package
rules for major updates and go dependencies. Enable automerge
and platform automerge options.

* chore(renovate): update configuration for PR limits and automerge

Add ':prHourlyLimitNone' and ':rebaseStalePrs' to extends. Set major
automerge to false and add 'gomodTidy' to postUpdateOptions. Add
'main' to baseBranches. Enable lockFileMaintenance with automerge
settings.

---------

Co-authored-by: Maxence Maireaux <[email protected]>
  • Loading branch information
NumaryBot and flemzord authored Oct 15, 2024
1 parent 3589486 commit 458c036
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":prHourlyLimitNone",
":rebaseStalePrs"
],
"major": {
"automerge": false
},
"postUpdateOptions": ["gomodTidy"],
"labels": ["dependencies"],
"baseBranches": ["main"],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"matchBaseBranches": ["main"],
"enabled": false
},
{
"matchDepNames": ["golang", "go"],
"groupName": "go"
}
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
"automergeType": "pr",
"platformAutomerge": true
}
}

0 comments on commit 458c036

Please sign in to comment.