-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ac1d25
commit 87e32fc
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
extends: [ | ||
"config:recommended", | ||
":semanticCommitsDisabled", | ||
"regexManagers:githubActionsVersions", | ||
"group:monorepos" | ||
], | ||
labels: ["kind/enhancement"], | ||
customManagers: [ | ||
{ | ||
// Update `_VERSION` and `_version` variables in Makefiles and scripts. | ||
// Inspired by `regexManagers:dockerfileVersions` preset. | ||
customType: "regex", | ||
fileMatch: ["Makefile$", "\\.yaml$", "\\.sh$", "^/hack/*"], | ||
matchStrings: [ | ||
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s.+?_(VERSION|version) *[?:]?= *\"?(?<currentValue>.+?)\"?\\s" | ||
] | ||
}, | ||
{ | ||
// Update `version` variables in common-components.yaml. | ||
// Inspired by `regexManagers:dockerfileVersions` preset. | ||
customType: "regex", | ||
fileMatch: ["common-components\\.yaml$"], | ||
matchStrings: [ | ||
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+version\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s" | ||
] | ||
}, | ||
], | ||
packageRules: [ | ||
{ | ||
// Group github-actions in one PR. | ||
groupName: "github-actions", | ||
matchManagers: ["github-actions"] | ||
}, | ||
{ | ||
// Only create PRs for patch updates of kubectl. | ||
"matchPackageNames": ["kubernetes/kubernetes"], | ||
// This is a compromise due to the version skew policy of Kubernetes. | ||
"allowedVersions": "~1.28" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.