mirror of
https://github.com/cheikh2shift/godex.git
synced 2026-10-23 11:22:18 -05:00
Add Trivy security scan workflow
This commit is contained in:
1 parent
b4b9d90258
commit
0fedb28a06
1 file changed
+14
@@ -0,0 +1,14 @@
|
||||
name: Security Scan
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
scan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Trivy Scan
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
scan-type: 'fs'
|
||||
ignore-unfixed: true
|
||||
severity: 'CRITICAL,HIGH'
|
||||
exit-code: '1'
|
||||
Reference in new issue
Block a user