diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 74da63e..4d1d88b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,8 +3,21 @@ "extends": [ "github>int128/renovate-base", "github>int128/go-renovate-config#v1.7.2", - "github>int128/go-renovate-config:go-directive#v1.7.2", "github>int128/go-renovate-config:github-actions#v1.7.2", "helpers:pinGitHubActionDigests", ], + "packageRules": [ + { + "description": "Update go version", + "matchDatasources": ["golang-version"], + "rangeStrategy": "bump", + }, + { + "description": "Do not update go directive in go.mod", + "matchDatasources": ["golang-version"], + "matchDepTypes": ["golang"], + "matchFileNames": ["go.mod"], + "enabled": false, + }, + ], }