Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trivy-image-scan/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
TRIVY_OUTPUT=""
if [ "${{ inputs.output-mode }}" = "github" ]; then
TRIVY_FORMAT="sarif"
TRIVY_OUTPUT="''trivy-results.sarif''"
TRIVY_OUTPUT="trivy-results.sarif"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't recall why this had the weird quoting but it seems to be breaking it now and there were no notes in the original PR. Verified it works with this fix in hypertrace/config-service#285

elif [ "${{ inputs.output-mode }}" = "json" ]; then
TRIVY_FORMAT="json"
TRIVY_OUTPUT="trivy-results.json"
Expand Down