Skip to content

Commit

Permalink
add scheduler to trivy action
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jan 9, 2025
1 parent 0a0f77b commit af06fdd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Run Trivy vulnerability scanner

on: [ push ]
on:
push:
schedule:
- cron: '0 8 * * *' # runs daily at 8h UTC

jobs:
main:
Expand All @@ -23,4 +26,4 @@ jobs:
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
ignorefile: '.trivyignore'
ignorefile: '.trivyignore'

0 comments on commit af06fdd

Please sign in to comment.