Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix renovate config warnings #5244

Merged
merged 4 commits into from
Jul 2, 2024
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
47 changes: 29 additions & 18 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": [
"config:base",
"mergeConfidence:all-badges",
Copy link
Member

Choose a reason for hiding this comment

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

Why is this needed?
I understood, this would only need to be enabled for self-hosting renovate: https://docs.renovatebot.com/merge-confidence/#enabling-and-disabling

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The massaged config contains the values that are in fact used.
One way is to make the config transparent. e.g. when i run renovate locally to test renovate, then this preset is not set.
But in both cases i would want the same output.
But it is not important, i can also drop this commit

"config:recommended",
":prConcurrentLimitNone"
],
"force": {
Expand All @@ -25,7 +26,7 @@
],
"packageRules": [
{
"updateTypes": [
"matchUpdateTypes": [
"minor",
"patch",
"pin",
Expand Down Expand Up @@ -78,13 +79,13 @@
"groupName": "vue-frontend"
},
{
"matchPackageNames": [
"matchDepNames": [
"sass"
],
"dependencyDashboardApproval": true
},
{
"matchPackageNames": [
"matchDepNames": [
"php",
"dunglas/frankenphp"
],
Expand All @@ -93,12 +94,12 @@
},
{
"matchPackagePatterns": [
"^@tiptap\/"
"^@tiptap/"
],
"groupName": "tiptap"
},
{
"matchPackageNames": [
"matchDepNames": [
"browserless/chrome",
"caddy",
"krakjoe/apcu",
Expand All @@ -110,31 +111,32 @@
],
"groupName": "docker-images",
"schedule": [
"after 10pm every sunday",
"before 7am every monday"
"after 10pm on sunday",
"before 7am on monday"
]
},
{
"matchPackageNames": [
"matchDepNames": [
"browserless/chrome"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>\\w+)-(?<build>\\d+)\\.(\\d+)\\.(\\d+)?$"
},
{
"matchPackageNames": [
"matchDepNames": [
"dunglas/frankenphp"
],
"versioning": "regex:^(?<build>\\d+)\\.(?<revision>\\d+)-(?<compatibility>\\w+)(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$"
},
{
"matchPackageNames": [
"matchDepNames": [
"postgres"
],
"allowedVersions": "15-alpine"
}
],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^api/phpunit.xml.dist$"
],
Expand All @@ -145,6 +147,7 @@
"datasourceTemplate": "packagist"
},
{
"customType": "regex",
"fileMatch": [
"^api/Dockerfile$"
],
Expand All @@ -154,6 +157,7 @@
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"fileMatch": [
"^.helm/ecamp3/values.ya?ml$"
],
Expand All @@ -162,83 +166,90 @@
]
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"php-version: '(?<currentValue>[0-9.]+)'"
],
"depNameTemplate": "php",
"lookupNameTemplate": "php/php-src",
"packageNameTemplate": "php/php-src",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<prerelease>\\w+)?$",
"extractVersionTemplate": "^php-(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
"^renovate.json$"
],
"matchStrings": [
"\"php\": \"(?<currentValue>[^\"]+).*\".*"
],
"depNameTemplate": "php",
"lookupNameTemplate": "php/php-src",
"packageNameTemplate": "php/php-src",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<prerelease>\\w+)?$",
"extractVersionTemplate": "^php-(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"tools: composer:(?<currentValue>[0-9.]+)"
],
"depNameTemplate": "composer",
"lookupNameTemplate": "composer/composer",
"packageNameTemplate": "composer/composer",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+).*?$"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"node-version: '(?<currentValue>[^']+)'.*"
],
"depNameTemplate": "node",
"lookupNameTemplate": "nodejs/node",
"packageNameTemplate": "nodejs/node",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+).*?$",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
".nvmrc"
],
"matchStrings": [
"(?<currentValue>[^'\n]+).*"
],
"depNameTemplate": "node",
"lookupNameTemplate": "nodejs/node",
"packageNameTemplate": "nodejs/node",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+).*?$",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
"^renovate.json$"
],
"matchStrings": [
"\"node\": \"(?<currentValue>[^\"]+).*\".*"
],
"depNameTemplate": "node",
"lookupNameTemplate": "nodejs/node",
"packageNameTemplate": "nodejs/node",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+).*?$",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": [
"^.github/workflows/.+\\.ya?ml$"
],
Expand Down
Loading