diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 2ade3cf..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -version: 2 -updates: -- package-ecosystem: gomod - directory: "/" - schedule: - interval: weekly - day: thursday - time: '14:00' - timezone: Europe/Berlin - pull-request-branch-name: - separator: "-" - open-pull-requests-limit: 99 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..517d94e --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,44 @@ +{ + 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/miflorad).", + separateMinorPatch: true, + commitMessagePrefix: "module: ", + commitMessageAction: "update", + commitMessageTopic: "{{depName}}", + commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", + packageRules: [ + // Commit message formats + { + matchManagers: ["github-actions"], + commitMessagePrefix: "ci: ", + }, + // less noisy updates + { + packageNames: [ + "github.com/currantlabs/gatt", + "github.com/muka/ble", + "github.com/muka/go-bluetooth", + ], + extends: ["schedule:weekly"], + }, + { + packageNames: [ + "github.com/coreos/go-systemd", + "github.com/mgutz/ansi", + "github.com/mgutz/logxi", + "golang.org/x/net", + ], + extends: ["schedule:monthly"], + }, + ], + regexManagers: [], +} + diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 4227047..0000000 --- a/renovate.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "extends": [ - "config:base" - ], - "commitMessagePrefix": "module:", - "commitMessageAction": "update", - "rebaseStalePrs": true, - "packageRules": [ - { - "packageNames": [ - "github.com/currantlabs/gatt", - "github.com/muka/ble", - "github.com/muka/go-bluetooth" - ], - "extends": ["schedule:weekly"] - }, - { - "packageNames": [ - "github.com/coreos/go-systemd", - "github.com/mgutz/ansi", - "github.com/mgutz/logxi", - "golang.org/x/net" - ], - "extends": ["schedule:monthly"] - } - ] -}