From 1e89575dc93525828bab12623849f8e0f11e4707 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Sat, 9 Nov 2024 22:10:00 +0900 Subject: [PATCH] Do not update go directive in go.mod (#213) * Do not update go directive in go.mod * Fix --- .github/renovate.json5 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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, + }, + ], }