Skip to content

Commit

Permalink
chore: fix renovate config, add recommended preset (#418)
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com>
  • Loading branch information
mowies authored Mar 27, 2023
1 parent 6ed4cef commit 78c5970
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:base",
"group:recommended"
],
"semanticCommits": "enabled",
"labels": [
Expand All @@ -17,30 +18,42 @@
"^config/default/.*-patch\\.yaml$"
]
},
"packageRules": [
{
"matchDepPatterns": [
"^.*open-feature/flagd.*$"
],
"groupName": "open-feature/flagd"
}
],
"regexManagers": [
{
"fileMatch": ["^apis/core/**/flagsourceconfiguration_types.go$"],
"fileMatch": ["^apis/core/.*/flagsourceconfiguration_types.go$"],
"matchStrings": ["defaultTag\\s*string\\s*= \"(?<currentValue>.*?)\"\\n"],
"depNameTemplate": "open-feature/flagd",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^flagd/(?<version>.*)$"
},
{
"fileMatch": ["^chart/open-feature-operator/values.yaml$"],
"matchStrings": ["repository: \"ghcr\\.io\/open-feature\/flagd\"\\n\\s*tag: (?<currentValue>.*?)\\n"],
"depNameTemplate": "open-feature/flagd",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^flagd/(?<version>.*)$"
},
{
"fileMatch": ["^chart/open-feature-operator/README.md$"],
"matchStrings": ["current flagd version: \\`(?<currentValue>.*?)\\`"],
"depNameTemplate": "open-feature/flagd",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^flagd/(?<version>.*)$"
},
{
"fileMatch": ["^docs/getting_started.md$"],
"matchStrings": ["ghcr\\.io\\/open-feature\\/flagd:(?<currentValue>.*?)\\n"],
"depNameTemplate": "open-feature/flagd",
"datasourceTemplate": "github-releases"
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^flagd/(?<version>.*)$"
}
]

Expand Down

0 comments on commit 78c5970

Please sign in to comment.