Files
devpod-terraform/.github/workflows/start.yaml
hgn 71c7f27be3
Some checks failed
build / Build (push) Failing after 5m22s
Update .github/workflows/start.yaml
2025-01-16 09:23:24 +01:00

23 lines
503 B
YAML

name: build
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@0.28.0
with:
scan-type: 'config'
hide-progress: true
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '1'
severity: 'CRITICAL,HIGH'