This commit is contained in:
parent
c18f0f6f36
commit
93d7a676a5
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/trivy.yml
Normal file
23
.forgejo/workflows/trivy.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Trivy
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Trivy scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
scan-type: 'fs'
|
||||
scan-ref: '.'
|
||||
ignore-unfixed: true
|
||||
format: 'table'
|
||||
exit-code: '0'
|
||||
limit-severity: 'CRITICAL'
|
||||
Loading…
Add table
Add a link
Reference in a new issue