Skip to content

Commit

Permalink
use reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
algo-1 committed Sep 23, 2024
1 parent 61c41fc commit e3e1805
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/send_dependabot_alerts_to_teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,5 @@ on:
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 }}
uses: Azure-Samples/send-dependabot-alerts-to-teams/.github/workflows/reusable-workflow.yml@main
secrets: inherit

0 comments on commit e3e1805

Please sign in to comment.