Minor update to exclude special caches #1039
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2021, 2024 Oracle Corporation and/or its affiliates. | |
# Licensed under the Universal Permissive License v 1.0 as shown at | |
# https://oss.oracle.com/licenses/upl. | |
# --------------------------------------------------------------------------- | |
# Coherence CLI GitHub Actions Scheduled Trivy Scan. | |
# --------------------------------------------------------------------------- | |
name: Scheduled Trivy Scan | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- gh-pages | |
schedule: | |
# Every day at midnight | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Checkout the source, we need a depth of zero to fetch all of the history otherwise | |
# the copyright check cannot work out the date of the files from Git. | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run Trivy vulnerability scanner to scan repo | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'fs' | |
skip-dirs: 'java' | |
exit-code: 1 |