Skip to content

Commit

Permalink
add a trivy cache workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes committed Nov 7, 2024
1 parent 9509395 commit 8e2c772
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/trivy-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: trivy-cache-db

on:
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: "0 1 * * *"

jobs:
trivy:
name: Run trivy scanner
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Trivy Cache
uses: ConsenSys/docs-gha/trivy-update-cache@main

0 comments on commit 8e2c772

Please sign in to comment.