Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️: migrate renovate config #375

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 43 additions & 43 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:base"],

// Renovate uses plugins called "managers" to handle different languages and
// frameworks. The full list of managers and their behaviour is documented
// here: https://docs.renovatebot.com/modules/manager/
enabledManagers: ["gomod", "terraform-version", "terraform"],

// Allow Renovate to update this file when new features require it.
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
],
enabledManagers: [
'gomod',
'terraform-version',
'terraform',
],
configMigration: true,

// Default to a generic prefix, if a more specific prefix is not set in the
// packageRules below.
commitMessagePrefix: "⬆️ ",

// Assign pull requests automatically.
additionalReviewers: ["busser"],

// Use packageRules to customize Renovate's behavior. Be specific with the
// match* fields in each rule, to avoid impacting unexpected managers or
// packages.
commitMessagePrefix: '⬆️ ',
additionalReviewers: [
'busser',
],
packageRules: [
// Set a prefix that makes reading the changelog easier.
{
matchManagers: ["gomod"],
commitMessagePrefix: "⬆️[Go] ",
matchManagers: [
'gomod',
],
commitMessagePrefix: '⬆️[Go] ',
},
{
matchManagers: ["terraform-version", "terraform"],
commitMessagePrefix: "⬆️[Terraform] ",
matchManagers: [
'terraform-version',
'terraform',
],
commitMessagePrefix: '⬆️[Terraform] ',
},

// Group dependencies into single pull requests to make reviews easier.
{
matchManagers: ["gomod"],
groupName: "Go packages",
matchManagers: [
'gomod',
],
groupName: 'Go packages',
},
{
matchManagers: ["terraform"],
groupName: "Terraform providers",
matchManagers: [
'terraform',
],
groupName: 'Terraform providers',
},

// Tidy up lock files after updates.
{
matchManagers: ["gomod"],
postUpdateOptions: ["gomodTidy"],
matchManagers: [
'gomod',
],
postUpdateOptions: [
'gomodTidy',
],
},

// Handle strange exceptions. Please explain why for future readers.
{
// This package changed their versioning scheme from X.Y.Z to 0.X.Y a few
// years ago. This config stops Renovate from suggesting we upgrade from
// v0.27 to v11.
matchManagers: ["gomod"],
matchPackageNames: ["k8s.io/client-go"],
allowedVersions: "<1.0",
matchManagers: [
'gomod',
],
matchPackageNames: [
'k8s.io/client-go',
],
allowedVersions: '<1.0',
},
],
}
Loading