Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 63 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,65 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"rebaseWhen": "behind-base-branch",
"labels": [
"dependencies"
],
"extends": [
"config:recommended"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alcohol With this one it'll bring the default renovate rules for things like GitHub actions etc, kinda nice esp if this project doesn't have dependabot enabled.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's fine, there is no dependabot setup here if I am not mistaken.

],
"packageRules": [
{
"matchPackageNames": [
"composer/composer"
],
"enabled": true
},
{
"matchFileNames": [
"2.2/Dockerfile"
],
"matchPackageNames": [
"composer/composer"
],
"versioning": "semver",
"commitMessageSuffix": " (2.2)",
"separateMinorPatch": true,
"additionalBranchPrefix": "2.2-"
},
{
"matchFileNames": [
"latest/Dockerfile"
],
"matchPackageNames": [
"composer/composer"
],
"commitMessageSuffix": " (Latest)",
"separateMinorPatch": true,
"additionalBranchPrefix": "latest-"
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/latest/Dockerfile$/"
],
"matchStrings": [
"ENV COMPOSER_VERSION=[\"']?(?<currentValue>\\d+\\.\\d+\\.\\d+)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "composer/composer"
},
{
"customType": "regex",
"managerFilePatterns": [
"/2.2/Dockerfile$/"
],
"matchStrings": [
"ENV COMPOSER_VERSION=[\"']?(?<currentValue>2\\.2\\.\\d+)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "composer/composer"
}
]
}