Skip to content

new version 2.15.0 #740

new version 2.15.0

new version 2.15.0 #740

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@v6
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
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@v4
if: always()
with:
sarif_file: "trivy-results.sarif"