|
48 | 48 | "groupName": "github actions" |
49 | 49 | }, |
50 | 50 | { |
51 | | - // Group JavaScript/Node.js dependency updates |
| 51 | + // Group JavaScript/Node.js dependency updates |
52 | 52 | "description": "Group npm dependency updates", |
53 | 53 | "matchManagers": [ "npm" ], |
54 | 54 | "groupName": "npm dependencies" |
55 | 55 | }, |
56 | | - { |
57 | | - // Go Version: Patch updates (treat as minor in PR titles) |
58 | | - "description": "Group Go patch updates and treat as minor in PR titles", |
59 | | - "groupName": "go version", |
60 | | - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
61 | | - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
62 | | - // gomod is not included in this packageManagers list, because the go directive in the go.mod means |
63 | | - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. |
64 | | - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives |
65 | | - "matchManagers": [ "asdf", "dockerfile" ], |
66 | | - "matchDatasources": [ "docker", "github-tags", "golang-version" ], |
67 | | - "matchUpdateTypes": [ "patch" ], |
68 | | - "commitMessageTopic": "golang version", |
69 | | - "branchTopic": "go-version" |
70 | | - }, |
71 | | - { |
72 | | - // Go Version: Block actual major updates (1.x -> 2.x). |
73 | | - // It also prevents bumps for go-toolset image versions with v9+ |
74 | | - "description": "Block Go major version updates beyond v1.x", |
75 | | - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
76 | | - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
77 | | - // gomod is not included in this packageManagers list, because the go directive in the go.mod means |
78 | | - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. |
79 | | - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives |
80 | | - "matchManagers": [ "asdf", "dockerfile" ], |
81 | | - "matchDatasources": [ "docker", "github-tags", "golang-version" ], |
82 | | - "matchUpdateTypes": [ "major" ], |
83 | | - "enabled": false // Block all major Go version updates |
84 | | - }, |
85 | | - { |
86 | | - // Go Version: Minor updates (treat as major in PR titles) |
87 | | - "description": "Group Go minor updates and treat as major in PR titles", |
88 | | - "groupName": "go version", |
89 | | - "matchPackageNames": [ "golang/go", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
90 | | - "matchDepNames": [ "go", "golang", "docker.io/library/golang", "registry.access.redhat.com/ubi9/go-toolset" ], |
91 | | - // gomod is not included in this packageManagers list, because the go directive in the go.mod means |
92 | | - // "Compatible with this version or later". So it is advisable to not bump this version unless necessary. |
93 | | - // Ref: https://docs.renovatebot.com/modules/manager/gomod/#updating-of-go-mod-and-toolchain-directives |
94 | | - "matchManagers": [ "asdf", "dockerfile" ], |
95 | | - "matchDatasources": [ "docker", "github-tags", "golang-version" ], |
96 | | - "matchUpdateTypes": [ "minor" ], |
97 | | - "commitMessagePrefix": "🚨", |
98 | | - "labels": [ "renovate", "major", "{{baseBranch}}" ], |
99 | | - "automerge": false, |
100 | | - "commitMessageTopic": "golang version", |
101 | | - "branchTopic": "go-version" |
102 | | - }, |
103 | 56 | { |
104 | 57 | // Tekton: Safe to auto-merge (infrastructure as code) |
105 | 58 | "description": "Auto-merge Tekton pipeline updates for non-major versions", |
|
0 commit comments