Skip to content

Commit ccc3d38

Browse files
committed
Merge commit 'refs/pull/2820/head' of https://github.com/BitBoxSwiss/bitbox-wallet-app
2 parents 32bc3d6 + 6909ccb commit ccc3d38

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/trivy.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,16 @@ on:
88
- master
99
jobs:
1010
trivy:
11-
permissions:
12-
# for github/codeql-action/upload-sarif to upload SARIF results
13-
security-events: write
1411
runs-on: ubuntu-22.04
1512
steps:
1613
- name: Checkout code
1714
uses: actions/checkout@v4
18-
- name: Run Trivy vulnerability scanner in repo mode
15+
- name: Run Trivy
1916
uses: aquasecurity/trivy-action@0.24.0
2017
with:
21-
scan-type: 'fs'
18+
format: 'table'
2219
ignore-unfixed: true
23-
format: 'sarif'
24-
output: 'trivy-results.sarif'
25-
severity: 'CRITICAL,HIGH'
26-
- name: Upload Trivy scan results to GitHub Security tab
27-
uses: github/codeql-action/upload-sarif@v3
28-
with:
29-
sarif_file: 'trivy-results.sarif'
20+
scan-type: 'fs'
21+
exit-code: '1'
22+
severity: 'MEDIUM,HIGH,CRITICAL'
23+

0 commit comments

Comments
 (0)