From 1486554b37ac4dc124ed40440116bea3a814cf05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Sun, 10 Nov 2024 17:07:57 +0100 Subject: [PATCH] Customize renovate commit messages --- renovate.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/renovate.json b/renovate.json index 9811ed71e4..7d481e79fc 100644 --- a/renovate.json +++ b/renovate.json @@ -25,5 +25,18 @@ "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (?:packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?(?: registryUrl=(?[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:*\\??=\\s*[\"']?(?.+?)[\"']?\\s" ] } + ], + "packageRules": [ + { + "matchDatasources": ["golang-version"], + "matchManagers": ["regex"], + "matchFileNames": [".github/workflows/*.yaml", ".github/workflows/*.yml"], + "commitMessageTopic": "go version in CI" + }, + { + "matchManagers": ["regex"], + "matchFileNames": ["Makefile"], + "commitMessageTopic": "tool {{depName}}" + } ] }