Merge pull request #61 from fabianoflorentino/development #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trivy vulnerability scan | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- development | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- 'docs/**' | |
- '.github/**' | |
jobs: | |
scan: | |
name: Trivy vulnerability scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Trivy vulnerability scan | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: fs | |
scan-ref: . | |
format: table | |
exit-code: 1 | |
ignore-unfixed: true | |
vuln-type: os,library | |
severity: 'CRITICAL,HIGH' |