Skip to content

Commit 9648070

Browse files
add a trivy cache workflow (#1717)
1 parent f528fd1 commit 9648070

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/trivy-cache.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: trivy-cache-db
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
schedule:
10+
- cron: "0 1 * * *"
11+
12+
jobs:
13+
trivy:
14+
name: Run trivy scanner
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Trivy Cache
19+
uses: ConsenSys/docs-gha/trivy-update-cache@main

0 commit comments

Comments
 (0)