feat: renovate bot

Add renovate config.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
This commit is contained in:
Serge Logvinov
2025-02-07 17:39:04 +02:00
parent 82c154a238
commit 67f83c6533
3 changed files with 46 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
--- ---
# See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates # See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2 version: 2
@@ -14,7 +13,6 @@ updates:
interval: "weekly" interval: "weekly"
day: "monday" day: "monday"
time: "07:30" time: "07:30"
timezone: "UTC"
- package-ecosystem: "gomod" - package-ecosystem: "gomod"
directory: "/" directory: "/"
@@ -26,7 +24,6 @@ updates:
interval: "weekly" interval: "weekly"
day: "monday" day: "monday"
time: "07:00" time: "07:00"
timezone: "UTC"
groups: groups:
k8s.io: k8s.io:
patterns: patterns:
@@ -53,4 +50,3 @@ updates:
interval: "weekly" interval: "weekly"
day: "monday" day: "monday"
time: "07:00" time: "07:00"
timezone: "UTC"

45
.github/renovate.json vendored Normal file
View File

@@ -0,0 +1,45 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.",
"prHeader": "Update Request | Renovate Bot",
"extends": [
":dependencyDashboard",
":gitSignOff",
":semanticCommitScopeDisabled",
"schedule:earlyMondays"
],
"packageRules": [
{
"description": "Siderolabs Group",
"groupName": "siderolabs",
"matchPackagePatterns": [
"^github.com/siderolabs",
"^github.com/cosi-project"
],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"matchUpdateTypes": [
"major",
"minor",
"patch"
]
},
{
"description": "K8S Group",
"groupName": "kubernetes",
"matchPackagePatterns": [
"^k8s.io/"
],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"matchUpdateTypes": [
"major",
"minor",
"patch"
]
}
],
"separateMajorMinor": false
}

View File

@@ -19,7 +19,7 @@ jobs:
run: git fetch --prune --unshallow run: git fetch --prune --unshallow
- name: Install chart-testing tools - name: Install chart-testing tools
uses: helm/chart-testing-action@v2.6.1 uses: helm/chart-testing-action@v2.7.0
- name: Run helm chart linter - name: Run helm chart linter
run: ct --config hack/ct.yml lint run: ct --config hack/ct.yml lint