This action takes a payload of a gollum (Github wiki) event and sends a notification in form of Office 365 Connector Card to a specified Microsoft Teams channel via a webhook. As Github extension for Microsoft Teams doesn't support gollum event notifications, this is a simple and convenient solution to get notified on updates (create, edit) in your repository's wiki pages.
WEBHOOK_URL
A webhook URL to a Teams channel you want notifications to be sent to. How to get the URL?
on: [gollum]
jobs:
wiki_teams_notification:
runs-on: ubuntu-latest
name: Wiki Teams notification
steps:
- uses: actions/checkout@v2
name: Checkout
- uses: ./.github/actions
name: Send notification
env:
# A webhook URL to a Teams channel you want notifications to be sent to.
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}