Skip to content

Commit

Permalink
add a trivy cache workflow (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafernandes authored Nov 7, 2024
1 parent 9509395 commit 0dfd68f
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 0dfd68f

Please sign in to comment.