File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5959 TRIVY_OUTPUT=""
6060 if [ "${{ inputs.output-mode }}" = "github" ]; then
6161 TRIVY_FORMAT="sarif"
62- TRIVY_OUTPUT="'' trivy-results.sarif' '"
62+ TRIVY_OUTPUT="'trivy-results.sarif'"
6363 elif [ "${{ inputs.output-mode }}" = "json" ]; then
6464 TRIVY_FORMAT="json"
6565 TRIVY_OUTPUT="trivy-results.json"
@@ -118,6 +118,10 @@ runs:
118118 TRIVY_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-db
119119 TRIVY_JAVA_DB_REPOSITORY : public.ecr.aws/aquasecurity/trivy-java-db
120120
121+ - name : ls
122+ shell : bash
123+ run : |
124+ ls -al
121125 - name : Upload Trivy scan results to GitHub Security tab
122126 uses : github/codeql-action/upload-sarif@v3
123127 if : (success() || failure()) && inputs.output-mode == 'github' && steps.output.outputs.TRIVY_OUTPUT != '' && inputs.category == ''
You can’t perform that action at this time.
0 commit comments