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 @@ -18,13 +18,17 @@ jobs:
1818 permissions :
1919 contents : read # for actions/checkout to fetch code
2020 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
21- # actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2221 name : Run Trivy scanner
2322 runs-on : " ubuntu-20.04"
2423 steps :
2524 - name : Checkout code
2625 uses : actions/checkout@v3
2726
27+ - name : Free Disk Space (Ubuntu) # Required by trivy to have enough space to scan full image
28+ uses : jlumbroso/free-disk-space@76866dbe54312617f00798d1762df7f43def6e5c # v1.2.0
29+ with :
30+ large-packages : false # Temporary fix for https://github.com/jlumbroso/free-disk-space/issues/4
31+
2832 - name : Run Trivy vulnerability scanner
2933 uses : aquasecurity/trivy-action@41f05d9ecffa2ed3f1580af306000f734b733e54 # v0.11.2
3034 with :
You can’t perform that action at this time.
0 commit comments