mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-07-13 07:05:42 +00:00
chore: refine renovate config (#172)
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
parent
0e3ef8dd27
commit
d23da9ae83
@ -2,7 +2,14 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:base",
|
"config:base",
|
||||||
"helpers:pinGitHubActionDigests"
|
"helpers:pinGitHubActionDigests",
|
||||||
|
":gitSignOff"
|
||||||
|
|
||||||
|
],
|
||||||
|
"addLabels": ["dependencies"],
|
||||||
|
"postUpdateOptions": [
|
||||||
|
"gomodTidy",
|
||||||
|
"gomodMassage"
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
@ -10,9 +17,31 @@
|
|||||||
"matchCurrentVersion": "!/^0/",
|
"matchCurrentVersion": "!/^0/",
|
||||||
"automerge": true
|
"automerge": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"matchManagers": ["gomod"],
|
||||||
|
"addLabels": ["go"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"matchManagers": ["github-actions"],
|
"matchManagers": ["github-actions"],
|
||||||
"automerge": true
|
"addLabels": ["github_actions"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchManagers": ["dockerfile"],
|
||||||
|
"addLabels": ["docker"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"regexManagers": [
|
||||||
|
{
|
||||||
|
"fileMatch": [
|
||||||
|
"(^|\\/)Makefile$",
|
||||||
|
"(^|\\/)Dockerfile",
|
||||||
|
"(^|\\/).*\\.ya?ml$",
|
||||||
|
"(^|\\/).*\\.toml$",
|
||||||
|
"(^|\\/).*\\.sh$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)\\s.*?_VERSION ?(\\??=|\\: ?) ?\\\"?(?<currentValue>.+?)?\\\"?\\s"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user