Skip to content

Commit e3e1805

Browse files
committed
use reusable workflow
1 parent 61c41fc commit e3e1805

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/send_dependabot_alerts_to_teams.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,5 @@ on:
1414
jobs:
1515
send-alerts-to-teams:
1616
name: Send Dependabot Alerts to Teams
17-
runs-on: ubuntu-latest
18-
19-
permissions:
20-
contents: read
21-
security-events: read
22-
23-
steps:
24-
- name: Fetch alerts & send to teams
25-
id: send-alerts
26-
uses: Azure-Samples/send-dependabot-alerts-to-teams@main
27-
with:
28-
teams-webhook-url: ${{ secrets.TEAMS_WEBHOOK_URL }}
29-
token: ${{ secrets.LIST_ALERTS_PAT }}
17+
uses: Azure-Samples/send-dependabot-alerts-to-teams/.github/workflows/reusable-workflow.yml@main
18+
secrets: inherit

0 commit comments

Comments
 (0)