From ca82b7d833f27cff642e5461ae068631c0376362 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Fri, 10 Jan 2025 06:51:42 -0500 Subject: [PATCH] add scheduler to trivy action (#36) --- .github/workflows/trivy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 1d67f90..147d56d 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -1,6 +1,9 @@ name: Run Trivy vulnerability scanner -on: [ push ] +on: + push: + schedule: + - cron: '0 8 * * *' # runs daily at 8h UTC permissions: contents: read @@ -29,4 +32,4 @@ jobs: ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' - ignorefile: '.trivyignore' \ No newline at end of file + ignorefile: '.trivyignore'