Only bump trivy on the minor release (#11773)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/11919/head
Derek Nola 2025-02-12 09:35:35 -08:00
parent 8adb6dafdd
commit b01b892e3a
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ sources:
repository: "trivy"
token: "{{ requiredEnv .github.token }}"
versionfilter:
kind: "latest"
kind: "regex"
pattern: "^v\\d+\\.\\d+$" # Matches "vMajor.Minor" only, skip patch
transformers:
- trimprefix: "v"