|
5 | 5 | { |
6 | 6 | "customType": "regex", |
7 | 7 | "description": "Update the GoBaseImage constant when a newer golang Docker image is available", |
8 | | - "managerFilePatterns": [ |
9 | | - "test/integration/integration.go" |
10 | | - ], |
| 8 | + "managerFilePatterns": ["test/integration/integration.go"], |
11 | 9 | "matchStrings": [ |
12 | 10 | "GoBaseImage = \"golang:(?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)-alpine\"" |
13 | 11 | ], |
|
18 | 16 | { |
19 | 17 | "customType": "regex", |
20 | 18 | "description": "Update minimum Go version mentioned in README and CONTRIBUTING", |
21 | | - "managerFilePatterns": [ |
22 | | - "README.md", |
23 | | - "CONTRIBUTING.md" |
24 | | - ], |
| 19 | + "managerFilePatterns": ["README.md", "CONTRIBUTING.md"], |
25 | 20 | "matchStrings": [ |
26 | 21 | "Go >= (?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?)", |
27 | 22 | "Go (?<currentValue>\\d+\\.\\d+(?:\\.\\d+)?) or later" |
28 | 23 | ], |
29 | 24 | "depNameTemplate": "go", |
30 | 25 | "datasourceTemplate": "golang-version", |
31 | 26 | "extractVersionTemplate": "^(?<version>\\d+\\.\\d+)" |
| 27 | + }, |
| 28 | + { |
| 29 | + "customType": "regex", |
| 30 | + "managerFilePatterns": ["Makefile"], |
| 31 | + "matchStrings": [ |
| 32 | + "GOLANGCI_LINT_VERSION\\s*:?=\\s*(?<currentValue>v?\\d+\\.\\d+\\.\\d+)" |
| 33 | + ], |
| 34 | + "depNameTemplate": "golangci/golangci-lint", |
| 35 | + "datasourceTemplate": "github-releases" |
| 36 | + }, |
| 37 | + { |
| 38 | + "customType": "regex", |
| 39 | + "managerFilePatterns": [".github/workflows/pr-lint.yml"], |
| 40 | + "matchStrings": [ |
| 41 | + "uses:\\s*golangci/golangci-lint-action@v\\d+[\\s\\S]*?version:\\s*(?<currentValue>v?\\d+\\.\\d+\\.\\d+)" |
| 42 | + ], |
| 43 | + "depNameTemplate": "golangci/golangci-lint", |
| 44 | + "datasourceTemplate": "github-releases" |
32 | 45 | } |
33 | 46 | ], |
34 | 47 | "packageRules": [ |
|
37 | 50 | "matchDatasources": ["docker", "golang-version"], |
38 | 51 | "matchPackageNames": ["golang", "go"], |
39 | 52 | "groupName": "go toolchain" |
| 53 | + }, |
| 54 | + { |
| 55 | + "matchDepNames": ["golangci/golangci-lint"], |
| 56 | + "groupName": "golangci-lint" |
40 | 57 | } |
41 | 58 | ] |
42 | 59 | } |
0 commit comments