diff --git a/renovate.json b/renovate.json index ab1dcf6c50..7d481e79fc 100644 --- a/renovate.json +++ b/renovate.json @@ -3,6 +3,18 @@ "labels": ["dependencies"], "enabledManagers": ["regex"], "customManagers": [ + { + "customType": "regex", + "description" : "Update Go versions used for building in the CI", + "datasourceTemplate": "golang-version", + "depNameTemplate": "go", + "fileMatch": [ + "(^|/)\\.github/workflows/.+\\.ya?ml$" + ], + "matchStrings": [ + "go-version: \"~(?.+)\"" + ] + }, { "customType": "regex", "description" : "Update tool versions in the Makefile", @@ -15,6 +27,12 @@ } ], "packageRules": [ + { + "matchDatasources": ["golang-version"], + "matchManagers": ["regex"], + "matchFileNames": [".github/workflows/*.yaml", ".github/workflows/*.yml"], + "commitMessageTopic": "go version in CI" + }, { "matchManagers": ["regex"], "matchFileNames": ["Makefile"],