Skip to content

Fix staging config / docs #100

Fix staging config / docs

Fix staging config / docs #100

Workflow file for this run

name: Trivy scan
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
jobs:
scan-repo:
name: Scan repo
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run scanner
uses: aquasecurity/trivy-action@0.35.0
with:
scan-type: "repo"
scan-ref: "."
ignore-unfixed: true
format: "sarif"
output: "trivy-repo-results.sarif"
severity: "HIGH,CRITICAL"
- name: Upload scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "trivy-repo-results.sarif"