Skip to content

Bump aquasecurity/trivy-action from 0.20.0 to 0.24.0 #92

Bump aquasecurity/trivy-action from 0.20.0 to 0.24.0

Bump aquasecurity/trivy-action from 0.20.0 to 0.24.0 #92

Workflow file for this run

---
name: Trivy Security Check
on:
push:
branches:
- main
pull_request:
jobs:
trivy-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
ignore-unfixed: true
exit-code: '1'
format: "sarif"
output: "trivy-results.sarif"
severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: "trivy-results.sarif"