Skip to content

Commit

Permalink
feat(renovate): include lockfile updates in grouped PR (GoogleCloudPl…
Browse files Browse the repository at this point in the history
…atform#2223)

* feat(renovate): include lockfile updates in grouped PR

also increases rate limits, since we only run once a week.

* decrease PR concurrent limit as @NimJay suggests

to align with @NimJay's comments on GoogleCloudPlatform/kubernetes-engine-samples#982
  • Loading branch information
muncus committed Oct 25, 2023
1 parent 9e6438a commit 8f35fca
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"extends": [
"config:recommended",
],
// Rate limits, to protect maintainers (and CI) from PR floods.
"prHourlyLimit": 10,
"prConcurrentLimit": 10,
// Run once a week, outside typical office hours.
// TZ is UTC unless specified.
"schedule": [ "after 10pm on Tuesday" ],
Expand Down Expand Up @@ -44,7 +47,7 @@
{"matchCategories": ["js"], "addLabels": ["lang: nodejs"]},
{"matchCategories": ["dotnet"], "addLabels": ["lang: dotnet"]},
{
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"automerge": true
},
{
Expand All @@ -61,37 +64,37 @@
// Group PRs by "category" - usually language.
{
"matchCategories": ["python"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "python",
"automerge": true
},
{
"matchCategories": ["java"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "java",
"automerge": true
},
{
"matchCategories": ["golang"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "golang",
"automerge": true
},
{
"matchCategories": ["js"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "nodejs",
"automerge": true
},
{
"matchCategories": ["dotnet"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "dotnet",
"automerge": true
},
{
"matchCategories": ["docker"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"groupName": "docker",
"pinDigests": true,
"automerge": true
Expand Down

0 comments on commit 8f35fca

Please sign in to comment.