From 88b41c8998c32fc9bd7a4766bef45947a4fe2f92 Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Sun, 3 Mar 2024 11:13:31 +0100 Subject: [PATCH] project: add renovate config --- .github/renovate.json5 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..609e6a1 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,41 @@ +{ + extends: [ + "config:base", + ":dependencyDashboard", + ":prHourlyLimitNone", + ":prConcurrentLimitNone", + ":label(dependency-upgrade)", + ], + schedule: ["before 8am on thursday"], + branchPrefix: "renovate-", + dependencyDashboardHeader: "View repository job log [here](https://app.renovatebot.com/dashboard#github/cmur2/dyndnsd).", + separateMinorPatch: true, + commitMessagePrefix: "project: ", + commitMessageAction: "update", + commitMessageTopic: "{{depName}}", + commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", + packageRules: [ + // Ruby dependencies are managed by depfu + { + matchManagers: ["bundler"], + enabled: false, + }, + // Commit message formats + { + matchDatasources: ["docker"], + commitMessagePrefix: "docker: ", + }, + { + matchManagers: ["github-actions"], + commitMessagePrefix: "ci: ", + }, + ], + regexManagers: [ + { + fileMatch: ["\.rb$", "^Rakefile$"], + matchStrings: [ + "renovate: datasource=(?.*?) depName=(?.*?)\\s.*_version = '(?.*)'\\s" + ] + }, + ], +}