module: switch to Renovate again

This commit is contained in:
Christian Nicolai 2022-05-04 20:19:41 +02:00
parent 72c4c94cb7
commit 21f139d3cc
3 changed files with 44 additions and 40 deletions

View File

@ -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

44
.github/renovate.json5 vendored Normal file
View File

@ -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: [],
}

View File

@ -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"]
}
]
}