Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Trivy

Trivy #285

Workflow file for this run

name: Trivy
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
trivy:
name: Security check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: 'trivy-results.sarif'