Skip to content

Dependabot Slack alerts #807

Dependabot Slack alerts

Dependabot Slack alerts #807

name: Dependabot Slack alerts
permissions:
contents: read
security-events: read
on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
notify-vulnerabilites:
runs-on: ubuntu-latest
steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.ZEROEX_AUTOMATION_APP_ID }}
private-key: ${{ secrets.ZEROEX_AUTOMATION_PRIVATE_KEY }}
# Latest version available at: https://github.com/kunalnagarco/action-cve/releases
- name: Notify Vulnerabilities
uses: kunalnagarco/action-cve@v1.14.15
with:
severity: high,critical
token: "${{ steps.app-token.outputs.token }}"
slack_webhook: "${{ secrets.DEPENDABOT_SLACK_WEBHOOK }}"