Periodic Vulnerability Scan #455
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
name: Periodic Vulnerability Scan | |
on: | |
schedule: | |
- cron: '0 8 * * 1-5' # Every weekday at 8:00 AM | |
jobs: | |
nvd_scan: | |
uses: yetanalytics/actions/.github/workflows/[email protected] | |
with: | |
nvd-clojure-version: '3.6.0' | |
classpath-command: 'clojure -Spath -A:cli' | |
nvd-config-filename: '.nvd/config.json' | |
notify_slack: | |
runs-on: ubuntu-latest | |
needs: nvd_scan | |
if: ${{ always() && (needs.nvd_scan.result == 'failure') }} | |
steps: | |
- name: Notify Slack LRSPipe NVD Scan Reporter | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"run_link": "https://github.com/yetanalytics/xapipe/actions/runs/${{ github.run_id }}" | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |