CI Cron Vulnerability Scans #50
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
# GitHub Actions CI workflow that runs vulnerability scans on the application's Docker image | |
# to ensure images built are secure before they are deployed. | |
name: CI Cron Vulnerability Scans | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every day at (8am ET, 11am PT) right before the start of the workday | |
- cron: "0 12 * * *" | |
jobs: | |
vulnerability-scans: | |
name: Vulnerability Scans | |
strategy: | |
fail-fast: false | |
matrix: | |
app_name: ["frontend", "api", "analytics"] | |
uses: ./.github/workflows/vulnerability-scans.yml | |
with: | |
app_name: ${{ matrix.app_name }} | |
send-slack-notification: | |
if: failure() | |
needs: vulnerability-scans | |
uses: ./.github/workflows/send-slack-notification.yml | |
secrets: inherit |