We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8a7763 + 1082868 commit 95cc366Copy full SHA for 95cc366
.github/workflows/ci.yml
@@ -25,6 +25,24 @@ env:
25
GITHUB_BUILD_DIR: ${{github.workspace}}
26
27
jobs:
28
+ trivy:
29
+ name: trivy
30
+ runs-on: ubuntu-22.04
31
+ steps:
32
+ - name: Checkout code
33
+ uses: actions/checkout@v4
34
+ - name: Run Trivy vulnerability scanner in repo mode
35
+ uses: aquasecurity/trivy-action@0.22.0
36
+ with:
37
+ scan-type: 'fs'
38
+ ignore-unfixed: true
39
+ format: 'sarif'
40
+ output: 'trivy-results.sarif'
41
+ severity: 'CRITICAL,HIGH'
42
+ - name: Upload Trivy scan results to GitHub Security tab
43
+ uses: github/codeql-action/upload-sarif@v3
44
45
+ sarif_file: 'trivy-results.sarif'
46
test-lint:
47
runs-on: ubuntu-22.04
48
steps:
0 commit comments