Skip to content

Commit aa55b64

Browse files
Merge pull request #7400 from kubernetes-sigs/dependabot/MartinForReal-patch-1
chores: skip trivy db update
2 parents 8940db3 + 6423544 commit aa55b64

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: .github/workflows/trivy.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
ignore-unfixed: true
6565
vuln-type: 'os,library'
6666
severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN'
67+
env:
68+
TRIVY_SKIP_DB_UPDATE: true
6769
- name: Upload Trivy scan results to GitHub Security tab
6870
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
6971
with:
@@ -78,6 +80,8 @@ jobs:
7880
ignore-unfixed: true
7981
vuln-type: 'os,library'
8082
severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN'
83+
env:
84+
TRIVY_SKIP_DB_UPDATE: true
8185
- name: Upload Trivy scan results to GitHub Security tab
8286
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
8387
with:
@@ -92,6 +96,8 @@ jobs:
9296
ignore-unfixed: true
9397
vuln-type: 'os,library'
9498
severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN'
99+
env:
100+
TRIVY_SKIP_DB_UPDATE: true
95101
- name: Upload Trivy scan results to GitHub Security tab
96102
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
97103
with:
@@ -106,3 +112,5 @@ jobs:
106112
output: 'dependency-results.sbom.json'
107113
scan-ref: '.'
108114
github-pat: ${{ secrets.GITHUB_TOKEN }}
115+
env:
116+
TRIVY_SKIP_DB_UPDATE: true

0 commit comments

Comments
 (0)