From f135b6ef6a2c53efebd5aa233967359e2bf746c5 Mon Sep 17 00:00:00 2001 From: Christian Nicolai Date: Wed, 4 May 2022 20:02:59 +0200 Subject: [PATCH] module: configure Renovate --- .github/dependabot.yml | 25 ------------------------- .github/renovate.json5 | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json5 diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 107ad7f..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -version: 2 -updates: -- package-ecosystem: pip - directory: "/" - schedule: - interval: weekly - day: thursday - time: '14:00' - timezone: Europe/Berlin - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 - commit-message: - prefix: "module:" - allow: - - dependency-type: direct - - dependency-type: indirect - ignore: - - dependency-name: certifi - versions: - - "> 2019.11.28" - - dependency-name: typing-extensions - versions: - - "> 3.7.4.1" diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..c3113a3 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,25 @@ +{ + 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/kube-stale-resources).", + separateMinorPatch: true, + commitMessagePrefix: "module: ", + commitMessageAction: "update", + commitMessageTopic: "{{depName}}", + commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", + packageRules: [ + // Commit message formats + { + matchDatasources: ["github-actions"], + commitMessagePrefix: "ci: ", + }, + ], + regexManagers: [], +}