-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3f8648
commit 3954514
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |