Skip to content

Fix monitor cluster to protect against empty data #1030

Fix monitor cluster to protect against empty data

Fix monitor cluster to protect against empty data #1030

Workflow file for this run

# 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