From 67f94fd2c09cc200783052284300eacbf1d78e76 Mon Sep 17 00:00:00 2001 From: Djeex Date: Sat, 21 Nov 2026 18:46:58 +0100 Subject: [PATCH] Track CI tool images with Renovate (#37) ## Summary - Custom Renovate manager for the CI tool images pinned in `docker run`/`docker create` commands (Trivy, gitleaks, hadolint), which the default managers do not detect. - Renovate will now open PRs to bump them; they are not automerged. ## Test plan - [ ] CI green on this PR - [ ] After merge, Renovate opens a PR bumping Trivy - [ ] That PR passes CI before merging Reviewed-on: https://git.djeex.fr/Djeex/nvidia-stock-bot/pulls/37 Co-authored-by: Djeex --- renovate.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/renovate.json b/renovate.json index 31f46b5..cb78f79 100644 --- a/renovate.json +++ b/renovate.json @@ -4,6 +4,17 @@ "timezone": "Europe/Paris", "minimumReleaseAge": "3 days", "labels": ["bot"], + "customManagers": [ + { + "customType": "regex", + "description": "Docker images pinned in CI 'docker run' / 'docker create' commands", + "managerFilePatterns": ["/^\\.gitea/workflows/.+\\.ya?ml$/"], + "matchStrings": [ + "(?(?:zricethezav/gitleaks|hadolint/hadolint|aquasec/trivy)):(?v?\\d+\\.\\d+\\.\\d+(?:-[a-z]+)?)" + ], + "datasourceTemplate": "docker" + } + ], "vulnerabilityAlerts": { "addLabels": ["bug"] },