From 433b13a24981e5e2dc8bff7a382c2ea13b48d763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 27 Aug 2026 19:14:43 +0200 Subject: [PATCH] Add Renovate config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Gronowski --- .github/renovate.json5 | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 000000000000..41f3d1eca0a1 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,59 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + // https://docs.renovatebot.com/modules/manager/github-actions/ + // https://docs.renovatebot.com/presets-helpers/ + "helpers:pinGitHubActionDigestsToSemver", + ":gitSignOff" + ], + "gomod": { + "managerFilePatterns": ["/(^|/)vendor\\.mod$/"] + }, + "postUpdateOptions": ["gomodTidy"], + "minimumReleaseAge": "3 days", + "internalChecksFilter": "strict", + "packageRules": [ + { + "matchManagers": ["gomod"], + "matchFileNames": ["vendor.mod"], + "semanticCommits": "disabled", + "commitMessagePrefix": "vendor:" + }, + { + "matchManagers": ["gomod"], + "matchFileNames": ["cmd/docker-trust/go.mod"], + // The trust module does not vendor dependencies; vendor/ belongs to the root module. + "postUpdateOptions": ["gomodSkipVendor"], + "semanticCommits": "disabled", + "commitMessagePrefix": "cmd/docker-trust:" + }, + { + "matchManagers": ["gomod"], + "matchFileNames": ["vendor.mod"], + "groupName": "golang.org/x packages", + "groupSlug": "golang-x", + "matchDepNames": ["/^golang\\.org\\/x\\//"] + }, + { + "matchManagers": ["github-actions"], + "minimumReleaseAge": "7 days", + "addLabels": ["area/ci", "status/2-code-review"] + }, + { + "matchManagers": ["github-actions"], + "groupName": "docker GitHub Actions", + "groupSlug": "docker-actions", + "matchDepNames": ["/^docker\\//"] + }, + { + // Keep all the google.golang.org/genproto modules at the same version. + "matchManagers": ["gomod"], + "matchFileNames": ["vendor.mod"], + "groupName": "google.golang.org/genproto packages", + "groupSlug": "google-genproto", + "matchDepNames": ["/^google\\.golang\\.org\\/genproto(\\/|$)/"], + "schedule": ["every month"] + } + ] +}