Skip to content

Algo 1/add dependabot alert detection #5

Algo 1/add dependabot alert detection

Algo 1/add dependabot alert detection #5

name: Send Dependabot Alerts to Teams
on:
pull_request: # tempoary to test the workflow
branches:
- main
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: "8 15 * * *"
jobs:
send-alerts-to-teams:
name: Send Dependabot Alerts to Teams
runs-on: ubuntu-latest
permissions:
contents: read
security-events: read
steps:
- name: Fetch alerts & send to teams
id: send-alerts
uses: Azure-Samples/send-dependabot-alerts-to-teams@main
with:
teams-webhook-url: ${{ secrets.TEAMS_WEBHOOK_URL }}
token: ${{ secrets.LIST_ALERTS_PAT }}