Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (22 loc) · 1.37 KB

File metadata and controls

27 lines (22 loc) · 1.37 KB

action-teams-gollum-notification

Description

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.

Card example 1

Required environment variables

  • WEBHOOK_URL A webhook URL to a Teams channel you want notifications to be sent to. How to get the URL?

Usage

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 }}