File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 56
56
format : ' sarif'
57
57
ignore-unfixed : true
58
58
vuln-type : ' os,library'
59
+ cache : false
59
60
output : ' ${{ matrix.target }}:${{ matrix.karmada-version }}.trivy-results.sarif'
60
61
- name : display scan results
61
62
uses :
aquasecurity/[email protected]
65
66
image-ref : ' docker.io/karmada/${{ matrix.target }}:${{ matrix.karmada-version }}'
66
67
format : ' table'
67
68
ignore-unfixed : true
69
+ cache : false
68
70
vuln-type : ' os,library'
69
71
- name : Upload Trivy scan results to GitHub Security tab
70
72
uses : github/codeql-action/upload-sarif@v3
Original file line number Diff line number Diff line change 32
32
steps :
33
33
- name : checkout code
34
34
uses : actions/checkout@v4
35
+ with :
36
+ # fetch-depth:
37
+ # 0 indicates all history for all branches and tags.
38
+ fetch-depth : 0
35
39
- name : install Go
36
40
uses : actions/setup-go@v5
37
41
with :
52
56
ignore-unfixed : true
53
57
vuln-type : ' os,library'
54
58
output : ' trivy-results.sarif'
59
+ cache : false
55
60
- name : display scan results
56
61
uses :
aquasecurity/[email protected]
57
62
env :
61
66
format : ' table'
62
67
ignore-unfixed : true
63
68
vuln-type : ' os,library'
69
+ cache : false
64
70
- name : Upload Trivy scan results to GitHub Security tab
65
71
uses : github/codeql-action/upload-sarif@v3
66
72
with :
You can’t perform that action at this time.
0 commit comments