diff --git a/.github/workflows/notify-security-alerts.yml b/.github/workflows/notify-security-alerts.yml new file mode 100644 index 00000000..2c310015 --- /dev/null +++ b/.github/workflows/notify-security-alerts.yml @@ -0,0 +1,16 @@ +name: Send security alerts to slack +on: + schedule: + - cron: "0 0 * * *" + + workflow_dispatch: + +jobs: + send_security_alerts: + runs-on: ubuntu-latest + steps: + - name: Send security alert notifications to slack + uses: kunalnagarco/action-cve@v1.8.0 + with: + token: ${{ secrets.SECURITY_ALERTS_GITHUB_TOKEN }} + slack_webhook: ${{ secrets.SECURITY_ALERTS_SLACK_WEBHOOK_URL }}