-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate.json
50 lines (50 loc) · 1.65 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/build_publish_builder_image\\.yaml$"],
"matchStrings": [
"go-version:\\s*\\[\\s*(?<currentValue1>1\\.22\\.\\d+),\\s*(?<currentValue2>1\\.23\\.\\d+)\\s*\\]"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "golang-1.22",
"currentValueTemplate": "{{{currentValue1}}}",
"extractVersionTemplate": "(?<version>1\\.22\\.\\d+)"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/workflows/build_publish_builder_image\\.yaml$"],
"matchStrings": [
"go-version:\\s*\\[\\s*(?<currentValue1>1\\.22\\.\\d+),\\s*(?<currentValue2>1\\.23\\.\\d+)\\s*\\]"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "golang-1.23",
"currentValueTemplate": "{{{currentValue2}}}",
"extractVersionTemplate": "(?<version>1\\.23\\.\\d+)"
}
],
"packageRules": [
{
"description": "Automerge patch updates for Go versions 1.22.x and 1.23.x",
"matchDatasources": ["golang-version"],
"matchPackageNames": ["golang-1.22", "golang-1.23"],
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType":"pr",
"prCreation": "immediate",
"pruneBranchAfterAutomerge": true,
"platformAutomerge": true
},
{
"matchUpdateTypes": ["minor"],
"matchPackageNames": ["aquasecurity/trivy-action"],
"automerge": true,
"automergeType": "branch",
"pruneBranchAfterAutomerge": true
}
]
}