Add workflow to send security alerts #1
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: Send security alerts to slack | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
pull_request: | |
branches: main | |
jobs: | |
send_security_alerts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send security alert notifications to slack | |
uses: kunalnagarco/[email protected] | |
with: | |
token: ${{ secrets.SECURITY_ALERTS_GITHUB_TOKEN }} | |
slack_webhook: ${{ secrets.SECURITY_ALERTS_SLACK_WEBHOOK_URL }} |