-
Notifications
You must be signed in to change notification settings - Fork 94
/
renovate.json5
78 lines (78 loc) · 2.24 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
],
"ignoreDeps": [
"github.com/infobloxopen/infoblox-go-client",
"zricethezav/gitleaks-action",
],
"ignorePaths": [
".github/workflows/release.yaml",
".github/workflows/cut_release.yaml",
".github/workflows/scorecard.yml",
],
"labels": ["dependencies", "renovate"],
"prConcurrentLimit": 15,
"packageRules": [
{
"matchPackagePatterns": [
"*",
],
"matchUpdateTypes": [
"minor",
"patch",
],
"matchCurrentVersion": "!/^v?0/",
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
}, {
"matchPackageNames": [
"k8gb-io/k8gb",
],
"groupName": "update SECURITY-INSIGHTS.yml",
"groupSlug": "update-security-insights"
}, {
"matchPackageNames": [
"rancher/k3s",
],
"groupName": "update k8s version",
"groupSlug": "update-k8s-version"
}, {
"matchDepTypes": [
"action",
],
"pinDigests": true
},
],
"regexManagers": [
{
"fileMatch": ["^SECURITY-INSIGHTS.yml$"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "k8gb-io/k8gb",
"extractVersionTemplate": "^v?(?<version>.*)['\"]?$",
"matchStrings": [
"\\s*project-release: ['\"]?v?(?<currentValue>[^'\"]+)['\"]?",
],
},
{
"fileMatch": ["^SECURITY-INSIGHTS.yml$"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "k8gb-io/k8gb",
"extractVersionTemplate": "^v?(?<version>.*)$",
"matchStrings": [
"\\s*- sbom-file: ['\"]?(.+)\\/download\\/v(?<currentValue>.+)\\/(.+)['\"]?",
],
"autoReplaceStringTemplate": "\n - sbom-file: https://github.com/{{{depName}}}/releases/download/v{{{newValue}}}/k8gb_{{{newValue}}}_linux_amd64.tar.gz.sbom.json"
},
// update the files in k3d/ with the up-to-date k8s version
{
"fileMatch": ["^k3d/.*y[a]?ml.*$"],
"datasourceTemplate": "docker",
"matchStrings": [
"repo: (?<depName>.*)\n(\\s*)image: \"?.+:(?<currentValue>.*?)\"?\n",
],
"extractVersionTemplate": "^(?<version>.+)(-k3s1)?(-k3s2)?$",
},
],
}