Skip to content

Commit

Permalink
chore(renovate): restrict major PHP updates, mandate approval for min…
Browse files Browse the repository at this point in the history
…ors (#51)

This enforces a versioning policy for PHP updates via renovatebot. It
disallows major updates and mandates approval for minor updates. This
ensures tighter control over PHP version changes, enhancing our
maintenance and compatibility standards.

Signed-off-by: Valentin Sickert <[email protected]>
  • Loading branch information
Lapotor authored Dec 6, 2023
1 parent 8c0831d commit 743fef8
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 743fef8

Please sign in to comment.