Skip to content

Commit

Permalink
Migrate config .github/renovate.json5
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 1, 2024
1 parent 6c61190 commit 70389a8
Showing 1 changed file with 31 additions and 15 deletions.
46 changes: 31 additions & 15 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,38 +1,54 @@
{
$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: {
gcs_connector: {
defaultRegistryUrlTemplate: "https://www.confluent.io/hub/page-data/confluentinc/kafka-connect-gcs/page-data.json",
defaultRegistryUrlTemplate: 'https://www.confluent.io/hub/page-data/confluentinc/kafka-connect-gcs/page-data.json',
transformTemplates: [
'{"releases": $reverse($.result.data.hubPlugin.versions).{"version": $}, "homepage": "https://www.confluent.io/hub/confluentinc/kafka-connect-gcs"}',
],
},
},
customManagers: [
{
customType: "regex",
fileMatch: ["^Dockerfile$", "(^|/)\\.github/workflows/.+\\.yaml$"],
customType: 'regex',
fileMatch: [
'^Dockerfile$',
'(^|/)\\.github/workflows/.+\\.yaml$',
],
matchStrings: [
"# renovate: datasource=(?<datasource>.+)\\s*.*confluent-hub install .* (?<depName>.+\\/.+):(?<currentValue>[\\d.]+)",
"# renovate: datasource=(?<datasource>.+) depName=(?<depName>.+\\/.+)\\s*.*:(?<currentValue>[\\d.]+)",
'# renovate: datasource=(?<datasource>.+)\\s*.*confluent-hub install .* (?<depName>.+\\/.+):(?<currentValue>[\\d.]+)',
'# renovate: datasource=(?<datasource>.+) depName=(?<depName>.+\\/.+)\\s*.*:(?<currentValue>[\\d.]+)',
],
},
],
packageRules: [
{
matchManagers: ["github-actions", "dockerfile"],
matchUpdateTypes: ["patch", "minor"],
groupName: "{{{manager}}} (non-major)",
matchManagers: [
'github-actions',
'dockerfile',
],
matchUpdateTypes: [
'patch',
'minor',
],
groupName: '{{{manager}}} (non-major)',
automerge: true,
automergeType: "branch",
automergeType: 'branch',
},
{
matchManagers: ["regex"],
matchUpdateTypes: ["patch", "minor"],
groupName: "{{{depName}}} (non-major)",
matchManagers: [
'custom.regex',
],
matchUpdateTypes: [
'patch',
'minor',
],
groupName: '{{{depName}}} (non-major)',
automerge: true,
automergeType: "branch",
automergeType: 'branch',
},
],
}

0 comments on commit 70389a8

Please sign in to comment.