From 3ff9d1577042e7f44a582de5838640404233150a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 13:14:00 +0000 Subject: [PATCH 1/2] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 58 +++++++++++++++++++++++++++--------------- 1 file changed, 38 insertions(+), 20 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 6b7091b..90342cb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,9 +1,11 @@ { - $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: ["config:best-practices"], + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:best-practices', + ], customDatasources: { goreleaser: { - defaultRegistryUrlTemplate: "https://goreleaser.com/static/releases.json", + defaultRegistryUrlTemplate: 'https://goreleaser.com/static/releases.json', transformTemplates: [ '{"releases":$.{"version":$.tag_name,"changelogUrl":$join(["https://github.com/goreleaser/goreleaser/releases/tag/",$.tag_name]),"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"},"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"}', ], @@ -11,35 +13,51 @@ }, customManagers: [ { - currentValueTemplate: "nonroot", - customType: "regex", - datasourceTemplate: "docker", - depNameTemplate: "gcr.io/distroless/static", - fileMatch: "^Dockerfile", - matchStrings: ['ARG BASE_IMAGE_DIGEST="(?.*)"'], + currentValueTemplate: 'nonroot', + customType: 'regex', + datasourceTemplate: 'docker', + depNameTemplate: 'gcr.io/distroless/static', + managerFilePatterns: [ + '/^Dockerfile/', + ], + matchStrings: [ + 'ARG BASE_IMAGE_DIGEST="(?.*)"', + ], }, { - customType: "regex", - fileMatch: "(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$", + customType: 'regex', + managerFilePatterns: [ + '/(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$/', + ], matchStrings: [ - "version: (?.*?)\\s+# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( packageName=(?.*?))?\\s", + 'version: (?.*?)\\s+# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( packageName=(?.*?))?\\s', ], }, ], - labels: ["semver:patch", "kind:dependencies"], + labels: [ + 'semver:patch', + 'kind:dependencies', + ], packageRules: [ { - groupName: "gcr.io/distroless/static", - matchDepNames: "gcr.io/distroless/static", + groupName: 'gcr.io/distroless/static', + matchDepNames: 'gcr.io/distroless/static', }, { - labels: ["semver:none", "kind:chore"], - matchManagers: ["github-actions"], + labels: [ + 'semver:none', + 'kind:chore', + ], + matchManagers: [ + 'github-actions', + ], }, { - matchManagers: ["poetry"], - rangeStrategy: "pin", + matchManagers: [ + 'poetry', + ], + rangeStrategy: 'pin', }, ], - semanticCommits: "auto", + semanticCommits: 'auto', } From 16c91894af3a941e57ff148ab18d8038e33968b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Wed, 7 May 2025 13:14:14 +0000 Subject: [PATCH 2/2] Prettier --- .github/renovate.json5 | 56 +++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 90342cb..71cacec 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,11 +1,9 @@ { - $schema: 'https://docs.renovatebot.com/renovate-schema.json', - extends: [ - 'config:best-practices', - ], + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["config:best-practices"], customDatasources: { goreleaser: { - defaultRegistryUrlTemplate: 'https://goreleaser.com/static/releases.json', + defaultRegistryUrlTemplate: "https://goreleaser.com/static/releases.json", transformTemplates: [ '{"releases":$.{"version":$.tag_name,"changelogUrl":$join(["https://github.com/goreleaser/goreleaser/releases/tag/",$.tag_name]),"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"},"sourceUrl":"https://github.com/goreleaser/goreleaser","homepage":"https://goreleaser.com/"}', ], @@ -13,51 +11,37 @@ }, customManagers: [ { - currentValueTemplate: 'nonroot', - customType: 'regex', - datasourceTemplate: 'docker', - depNameTemplate: 'gcr.io/distroless/static', - managerFilePatterns: [ - '/^Dockerfile/', - ], - matchStrings: [ - 'ARG BASE_IMAGE_DIGEST="(?.*)"', - ], + currentValueTemplate: "nonroot", + customType: "regex", + datasourceTemplate: "docker", + depNameTemplate: "gcr.io/distroless/static", + managerFilePatterns: ["/^Dockerfile/"], + matchStrings: ['ARG BASE_IMAGE_DIGEST="(?.*)"'], }, { - customType: 'regex', + customType: "regex", managerFilePatterns: [ - '/(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$/', + "/(^|\\/)(?:workflow-templates|\\.github\\/(?:workflows|actions))\\/.+\\.ya?ml$/", ], matchStrings: [ - 'version: (?.*?)\\s+# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( packageName=(?.*?))?\\s', + "version: (?.*?)\\s+# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( packageName=(?.*?))?\\s", ], }, ], - labels: [ - 'semver:patch', - 'kind:dependencies', - ], + labels: ["semver:patch", "kind:dependencies"], packageRules: [ { - groupName: 'gcr.io/distroless/static', - matchDepNames: 'gcr.io/distroless/static', + groupName: "gcr.io/distroless/static", + matchDepNames: "gcr.io/distroless/static", }, { - labels: [ - 'semver:none', - 'kind:chore', - ], - matchManagers: [ - 'github-actions', - ], + labels: ["semver:none", "kind:chore"], + matchManagers: ["github-actions"], }, { - matchManagers: [ - 'poetry', - ], - rangeStrategy: 'pin', + matchManagers: ["poetry"], + rangeStrategy: "pin", }, ], - semanticCommits: 'auto', + semanticCommits: "auto", }