Skip to content

EB:203 UI consensus #543

EB:203 UI consensus

EB:203 UI consensus #543

Workflow file for this run

name: Trivy - Security scan
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '15 5 * * 3' # runs at 5:15 AM every Wednesday
jobs:
scan:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL,HIGH"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "trivy-results.sarif"
category: trivy