Skip to content

Commit

Permalink
chore: fix renovate config
Browse files Browse the repository at this point in the history
* Cargo dependency updates were merged with the lockfile ones, as showcased in renovatebot/renovate#22524 (reply in thread)
* Vulnerability dependencies were not working because of incorrect group configuration
* Merge all lockfile maintenance updates in a sigle PR
* Don't distinguish between major and minor versions in CI dependency
updates. They're now in a single PR.
  • Loading branch information
ferferga committed Jun 1, 2023
1 parent 491c466 commit a22eecd
Showing 1 changed file with 27 additions and 10 deletions.
37 changes: 27 additions & 10 deletions .github/renovate.json
@@ -1,4 +1,5 @@
{
"timezone": "Europe/Madrid",
"packageRules": [
{
"matchManagers": [
Expand All @@ -7,8 +8,8 @@
"matchDepTypes": [
"devDependencies"
],
"groupName": "development dependencies",
"groupSlug": "dev-deps"
"groupName": "npm development dependencies",
"groupSlug": "npm-dev"
},
{
"matchManagers": [
Expand All @@ -17,32 +18,48 @@
"matchDepTypes": [
"dependencies"
],
"groupName": "dependencies",
"groupSlug": "deps"
"groupName": "npm dependencies",
"groupSlug": "npm"
},
{
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "CI dependencies",
"groupSlug": "ci-deps",
"separateMajorMinor": false
"groupSlug": "ci-deps"
},
{
"matchManagers": [
"cargo"
],
"groupName": "Tauri dependencies",
"groupSlug": "tauri-deps",
"separateMajorMinor": false
"matchUpdateTypes": [
"patch",
"minor",
"major"
],
"groupName": "cargo dependencies",
"groupSlug": "cargo"
},
{
"matchUpdateTypes": [
"lockFileMaintenance"
],
"groupSlug": "lockfiles"
}
],
"dependencyDashboard": false,
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"transitiveRemediation": true,
"vulnerabilityAlerts": {
"groupName": "vuln-alerts",
"enabled": true,
"groupName": "vulnerable dependencies",
"groupSlug": "vulnerabilities",
"labels": [
"security",
"dependencies"
Expand Down

0 comments on commit a22eecd

Please sign in to comment.