Skip to content

Commit

Permalink
UML-3427 updated renovate config to split PRs (#2729)
Browse files Browse the repository at this point in the history
* UML-3427 updated renovate config to split PRs

* UML-3427 updated docker matchManagers

* UML-3427 updated aws schedule and limit

* UML-3427 fixed renovate config error and warnings
prPriority is not used in vulnerabilityAlerts & major
  • Loading branch information
allenannom authored Aug 1, 2024
1 parent 31bc447 commit d98fc79
Showing 1 changed file with 93 additions and 4 deletions.
97 changes: 93 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
]
},
{
"description": [
"Github Actions: bundle all updates together"
],
"groupName": "GitHub Actions",
"matchPackagePatterns": [
"actions/*"
Expand All @@ -55,6 +58,94 @@
"schedule": [
"after 6am and before 9am on Monday"
],
"stabilityDays": 3,
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"]
},
{
"description": [
"Docker: group all updates together"
],
"labels": ["Dependencies", "Renovate", "Docker"],
"groupName": "Docker Updates",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["dockerfile", "docker-compose"],
"automerge": false
},
{
"description": [
"Golang: group all updates together"
],
"labels": ["Dependencies", "Renovate", "Golang"],
"groupName": "Golang Updates",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["gomod"],
"automerge": false
},
{
"description": [
"npm minor and patch updates (stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "minor and patch updates (npm)",
"groupSlug": "all-minor-patch-updates-npm",
"labels": ["Dependencies", "Renovate", "nodejs"],
"matchManagers": ["npm"],
"matchUpdateTypes": ["minor", "patch"],
"matchFiles": [
"package.json",
"service-front/package.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": ["AWS SDK"],
"labels": ["Renovate", "AWS SDK"],
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["composer"],
"matchPackageNames": ["aws/aws-sdk-php"],
"extends": ["schedule:monthly"],
"automerge": false
},
{
"description": [
"front composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "front minor and patch updates (PHP 8.2)",
"groupSlug": "front-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-front/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
},
{
"description": [
"api composer minor and patch updates (PHP 8.2, stable for 3 days)",
"These might be automerged once we're comfortable with Renovate"
],
"automerge": false,
"groupName": "api minor and patch updates (PHP 8.2)",
"groupSlug": "api-minor-patch-updates-php82",
"labels": ["Dependencies", "Renovate", "PHP 8.2"],
"matchManagers": ["composer"],
"matchUpdateTypes": ["minor", "patch"],
"excludePackageNames": ["php"],
"matchFiles": [
"service-api/composer.json"
],
"prCreation": "immediate",
"prPriority": 4,
"stabilityDays": 3
}
],
Expand All @@ -64,8 +155,7 @@
"Renovate"
],
"prCreation": "immediate",
"rangeStrategy": "pin",
"prPriority": 1
"rangeStrategy": "pin"
},
"branchConcurrentLimit": 5,
"prConcurrentLimit": 1,
Expand All @@ -81,7 +171,6 @@
"rangeStrategy": "pin",
"commitMessagePrefix": "[SECURITY]",
"branchTopic": "{{{datasource}}}-{{{depName}}}-vulnerability",
"prCreation": "immediate",
"prPriority": 5
"prCreation": "immediate"
}
}

0 comments on commit d98fc79

Please sign in to comment.