Skip to content

Commit

Permalink
Only bump trivy on the minor release
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola committed Feb 10, 2025
1 parent 04ed6c0 commit 67b8314
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 67b8314

Please sign in to comment.