Add trivy workflow
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
Miguel Jacq 2025-11-13 14:43:07 +11:00
parent c18f0f6f36
commit 93d7a676a5
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -0,0 +1,23 @@
name: Trivy
on:
schedule:
- cron: '0 1 * * *'
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Trivy scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
ignore-unfixed: true
format: 'table'
exit-code: '0'
limit-severity: 'CRITICAL'