Skip to content

Commit

Permalink
add a step to cache trivy's db (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes authored Nov 7, 2024
1 parent a5e9ec0 commit ba2e985
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 ba2e985

Please sign in to comment.