diff --git a/.gitea/workflows/trivy.yml b/.gitea/workflows/trivy.yml new file mode 100644 index 0000000..07c15bd --- /dev/null +++ b/.gitea/workflows/trivy.yml @@ -0,0 +1,19 @@ +name: Trivy + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + trivy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run Trivy + uses: aquasecurity/trivy-action@master + with: + scan-type: 'fs' + scan-ref: '.' + severity: 'CRITICAL,HIGH'