A GitHub Action for sending Microsoft Teams notifications
- Create an Incoming Webhook in Teams and copy the URL
- Create a GitHub secret,
MS_TEAMS_WEBHOOK_URL, using the copied URL - At the end of a job that runs on
push,pull_request,schedule, orworkflow_dispatch, add the following step
- name: Teams Notification
uses: byu-oit/github-action-teams@v3
if: always()
with:
status: ${{ job.status }}
webhook-url: ${{ secrets.MS_TEAMS_WEBHOOK_URL }}
