Skip to content

Commit

Permalink
Configure automerge in Renovate
Browse files Browse the repository at this point in the history
This should merge test-passing branches with the following policy:
- Anything that is just a lockfile update
- Minor version bumps of direct dependencies that are > version 1.0.0
- Patch version bumps of direct dependencies that are < version 1.0.0
  • Loading branch information
rbtcollins committed Aug 15, 2023
1 parent ff8274f commit af8977d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dependencies"
],
"lockFileMaintenance": {
"enabled": true
"enabled": true,
"automerge": true
},
"prCreation": "not-pending",
"rangeStrategy": "replace",
Expand All @@ -23,6 +24,21 @@
"opentelemetry"
],
"groupName": "opentelemetry"
},
{
"matchUpdateTypes": [
"minor",
"patch"
],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "/^0\\./",
"automerge": true
}
]
}

0 comments on commit af8977d

Please sign in to comment.