Update trivy actions to v0.3.1 (main)#219
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
64cc9ce to
aed4508
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.2.6→v0.3.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
aquasecurity/setup-trivy (aquasecurity/setup-trivy)
v0.3.1Compare Source
v0.3.1🐛 Bug fix
Fixes a regression in
v0.3.0that made the action fail to load in everyworkflow, even when
pathwas not set:A literal
${{ runner.temp }}had been left in an input description insideaction.yaml. GitHub evaluates every${{ }}expression in the file —including input descriptions, where the
runnercontext is unavailable — so theaction could not be loaded at all. The expression has been removed from the
description and from the validation error message. See #37 (#38).
If you are on
v0.3.0, upgrade tov0.3.1.✅ Tests
Added a CI workflow that runs the action on ubuntu / windows / macOS (default,
cached, and custom-path installs) and verifies that an invalid
pathisrejected. Because it exercises the action via
uses: ./, it catchesaction-loading failures like #37 that static linters miss.
ℹ️ Note
The
v0.3.0security hardening and thepathbreaking change still apply:pathmust be a literal path; shell variables ($HOME,$RUNNER_TEMP) and~are not expanded. Use a GitHub expression or a relative path:Full Changelog: aquasecurity/setup-trivy@v0.3.0...v0.3.1
v0.3.0Compare Source
v0.3.0🔒 Security
Hardened the action against shell script injection:
${{ }}values are now passed viaenv:instead of being inlined intorun:blocks, and all shell variables are quoted.The
pathinput must now be a literal path. Shell variables ($HOME,$RUNNER_TEMP) and~are no longer expanded and will fail the action.Only affects you if you explicitly set
pathwith a$or~. Default usage is unchanged (Trivy installs to$HOME/.local/bin/trivy-bin), andaquasecurity/trivy-actionis not affected.Full Changelog: aquasecurity/setup-trivy@v0.2.6...v0.3.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.