Skip to content

Commit

Permalink
Create notify-on-member-removal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
drepeeters committed Feb 17, 2023
1 parent f3f8648 commit 3954514
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/notify-on-member-removal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Member removal notification
on:
push:
branches:
- master
paths:
- 'content/pages/members/**'
workflow_dispatch:

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify dedicated teams channel
uses: jdcargile/ms-teams-notification@v1.3
with:
github-token: ${{ github.token }} # this will use the runner's token.
ms-teams-webhook-uri: ${{ secrets.TEAMS_WEBHOOK_URL }}
notification-summary: 'Warning! A member file has been removed. Contact someone from the Webteam and make sure the member is added back.'
notification-color: 17a2b8

0 comments on commit 3954514

Please sign in to comment.