Skip to content

Commit

Permalink
Only bump trivy on the minor release (#11773)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola authored Feb 12, 2025
1 parent 303350d commit 26b4243
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion updatecli/updatecli.d/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 26b4243

Please sign in to comment.