Skip to content

Commit

Permalink
Merge pull request #147 from Xerkus/feature/renovate-improvements
Browse files Browse the repository at this point in the history
Revert renovate handling of php to replace strategy
  • Loading branch information
Xerkus committed Nov 8, 2023
2 parents b3945c0 + 763a6c9 commit 78ad458
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@
{
"matchDepTypes": ["require"],
"rangeStrategy": "bump"
},
{
"matchPackageNames": ["php"],
"rangeStrategy": "replace",
"groupName": "PHP"
},
{
"matchFiles": [".platform.app.yaml"],
"matchPackageNames": ["php/php-src"],
"extends": [":automergeDisabled", ":automergePr", ":label(Awaiting Maintainer Response)"],
"groupName": "PHP",
"commitMessageTopic": "platform.sh PHP",
"prBodyNotes": [
":warning: PHP version might not be available at platform.sh. See https://docs.platform.sh/languages/php.html#supported-versions"
]
}
],
"regexManagers": [
{
"fileMatch": ["^.platform.app.yaml$"],
"matchStrings": ["\\ntype: php:(?<currentValue>.*)\\n"],
"depNameTemplate": "php/php-src",
"datasourceTemplate": "github-tags",
"extractVersionTemplate": "^php-(?<version>\\d+\\.\\d+)\\.\\d+$",
"versioningTemplate": "semver-coerced"
}
]
}

0 comments on commit 78ad458

Please sign in to comment.