File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2024 Oracle Corporation and/or its affiliates.
2+ # Licensed under the Universal Permissive License v 1.0 as shown at
3+ # https://oss.oracle.com/licenses/upl.
4+
5+ # ---------------------------------------------------------------------------
6+ # Coherence JS Client GitHub Actions Scheduled Trivy Scan
7+ # ---------------------------------------------------------------------------
8+ name : Scheduled Trivy Scan
9+
10+ on :
11+ workflow_dispatch :
12+ schedule :
13+ # Every day at midnight
14+ - cron : ' 0 0 * * *'
15+
16+ jobs :
17+ trivy-scan :
18+ runs-on : ubuntu-latest
19+ container :
20+ image : ghcr.io/aquasecurity/trivy:latest
21+ volumes :
22+ - /var/run/docker.sock:/var/run/docker.sock
23+ - /home/runner/work/coherence-py-client/coherence-py-client:/repo
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - name : Trivy Scan
29+ run : trivy fs --exit-code 1 /repo
You can’t perform that action at this time.
0 commit comments