From 037eca0c91d50cd24e48d2b7f70da37cfd550eeb Mon Sep 17 00:00:00 2001 From: Renovate Bot <renovate-bot@gitea.com> Date: Mon, 5 May 2025 07:01:15 +0000 Subject: [PATCH] chore(config): migrate renovate config (#861) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed. You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon. #### [PLEASE NOTE](https://docs.renovatebot.com/configuration-options#configmigration): JSON5 config file migrated! All comments & trailing commas were removed. 🔕 **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid. ❓ Got questions? Does something look wrong to you? Please don't hesitate to [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/861 Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com> --- renovate.json5 | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 2652f4b..7ac2dee 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -9,19 +9,19 @@ labels: [ 'kind/dependency', ], - "digest": { - "automerge": true + digest: { + automerge: true, }, automergeStrategy: 'squash', 'git-submodules': { - 'enabled': true + enabled: true, }, customManagers: [ { description: 'Gitea-version of https://docs.renovatebot.com/presets-regexManagers/#regexmanagersgithubactionsversions', customType: 'regex', - fileMatch: [ - '.gitea/workflows/.+\\.ya?ml$', + managerFilePatterns: [ + '/.gitea/workflows/.+\\.ya?ml$/', ], matchStrings: [ '# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*["\']?(?<currentValue>.+?)["\']?\\s', @@ -30,17 +30,21 @@ { description: 'Detect helm-unittest yaml schema file', customType: 'regex', - fileMatch: ['.vscode/settings\\.json$'], + managerFilePatterns: [ + '/.vscode/settings\\.json$/', + ], matchStrings: [ 'https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json', ], datasourceTemplate: 'github-releases', }, { - 'description': 'Automatically detect new Gitea releases', - 'customType': 'regex', - 'fileMatch': ['(^|/)Chart\\.yaml$'], - 'matchStrings': [ + description: 'Automatically detect new Gitea releases', + customType: 'regex', + managerFilePatterns: [ + '/(^|/)Chart\\.yaml$/', + ], + matchStrings: [ '# renovate datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) extractVersion=(?<extractVersion>\\S+)\\nappVersion:\\s?(?<currentValue>\\S+)\\n', ], }, @@ -112,7 +116,9 @@ matchDepNames: [ 'go-gitea/gitea', ], - schedule: ['at any time'], + schedule: [ + 'at any time', + ], }, ], }