From 9310fc7cd6ae878ad3110184d904ff7f8882dc09 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Tue, 24 Dec 2024 14:42:11 +0100 Subject: [PATCH] :construction_worker: [maykinmedia/objects-api#463] Add cache job for trivy --- .github/workflows/trivy-db-cache.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/trivy-db-cache.yml diff --git a/.github/workflows/trivy-db-cache.yml b/.github/workflows/trivy-db-cache.yml new file mode 100644 index 0000000..2b3925c --- /dev/null +++ b/.github/workflows/trivy-db-cache.yml @@ -0,0 +1,10 @@ +name: Call Update Trivy Cache + +on: + workflow_dispatch: # Manual trigger for testing purposes + schedule: + - cron: '51 0 * * *' # Run daily + +jobs: + call-update-trivy-cache: + uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v3.0.2