Skip to content

Commit

Permalink
chore(renovate): disallow major and require approval on minor updates…
Browse files Browse the repository at this point in the history
… for PHP

Signed-off-by: Valentin Sickert <[email protected]>
  • Loading branch information
Lapotor committed Dec 4, 2023
1 parent 9a2a663 commit c6e5f0d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,21 @@
"reviewers": ["@lapotor", "@whyauthentic"],
"packageRules": [
{
"description": "Disable major and minor updates for PHP",
"description": "Allow ranges for PHP",
"matchPackageNames": "php",
"rangeStrategy": "auto"
},
{
"description": "Require approval for minor updates on PHP",
"matchPackageNames": "php",
"matchUpdateTypes": ["minor"],
"dependencyDashboardApproval": true
},
{
"description": "Disallow major updates for PHP",
"matchPackageNames": "php",
"matchUpdateTypes": ["major"],
"enabled": false
}
]
}

0 comments on commit c6e5f0d

Please sign in to comment.