All Projects → jdcargile → ms-teams-notification

jdcargile / ms-teams-notification

Licence: MIT license
GitHub Action to send a Microsoft Teams notification

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ms-teams-notification

linux-teams
An unofficial Microsoft Teams application for Linux
Stars: ✭ 19 (-56.82%)
Mutual labels:  microsoft, teams
powershell
PnP PowerShell
Stars: ✭ 326 (+640.91%)
Mutual labels:  microsoft, teams
vbo365-rest
Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
Stars: ✭ 44 (+0%)
Mutual labels:  microsoft, teams
script-samples
A sample gallery of scripts to manage all things Microsoft 365.
Stars: ✭ 56 (+27.27%)
Mutual labels:  microsoft, teams
teams-api
Unofficial Microsoft Teams Library
Stars: ✭ 92 (+109.09%)
Mutual labels:  microsoft, teams
teams-call
Shell script to detect when you're in a Microsoft Teams Call. Supports Linux and macOS.
Stars: ✭ 23 (-47.73%)
Mutual labels:  microsoft, teams
Msgraph Sdk Powershell
Powershell SDK for Microsoft Graph
Stars: ✭ 239 (+443.18%)
Mutual labels:  microsoft
AlwaysEncryptedSample
Sample ASP.NET MVC Application for demonstrating Microsoft SQL Server Always Encrypted Functionality
Stars: ✭ 14 (-68.18%)
Mutual labels:  microsoft
Azure Event Hubs
☁️ Cloud-scale telemetry ingestion from any stream of data with Azure Event Hubs
Stars: ✭ 233 (+429.55%)
Mutual labels:  microsoft
Azure Powershell
Microsoft Azure PowerShell
Stars: ✭ 2,873 (+6429.55%)
Mutual labels:  microsoft
Advanced-Databricks-for-ML-Build-2019
Using Azure Databricks (Spark) for ML, this is the //build 2019 repository with homework examples, code and notebooks
Stars: ✭ 13 (-70.45%)
Mutual labels:  microsoft
tod0
A Terminal Client for Microsoft To-Do
Stars: ✭ 93 (+111.36%)
Mutual labels:  microsoft
Xbox-GDK-Samples
Game development samples published by the Xbox Advanced Technology Group using the Microsoft GDK.
Stars: ✭ 128 (+190.91%)
Mutual labels:  microsoft
Timelinestoryteller
An expressive visual storytelling environment for presenting timelines on the web and in Power BI. Developed at Microsoft Research.
Stars: ✭ 244 (+454.55%)
Mutual labels:  microsoft
PowerEvents
PowerEvents is a PowerShell module that assists in the registration of WMI permanent event subscriptions.
Stars: ✭ 60 (+36.36%)
Mutual labels:  microsoft
Checkedc
Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, a…
Stars: ✭ 2,692 (+6018.18%)
Mutual labels:  microsoft
System-Center-Operations-Manager-API
Microsoft System Center Operations Manager (SCOM) Web API
Stars: ✭ 40 (-9.09%)
Mutual labels:  microsoft
Api Management Developer Portal
Azure API Management developer portal.
Stars: ✭ 229 (+420.45%)
Mutual labels:  microsoft
privacysec
I don't have anything to hide, but I don't have anything to show you either.
Stars: ✭ 110 (+150%)
Mutual labels:  microsoft
windows-container
Docker files for various Windows Container build
Stars: ✭ 30 (-31.82%)
Mutual labels:  microsoft

ms-teams-notification status

Microsoft Teams Notification

A GitHub Action that sends customizable notifications to a dedicated Microsoft Teams channel.

Usage

  1. Add MS_TEAMS_WEBHOOK_URI on your repository's configs on Settings > Secrets. It is the Webhook URI of the dedicated Microsoft Teams channel for notification.
  1. Add a new step on your workflow code below actions/checkout@v2:
name: MS Teams Notification

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      # this is the new step using the ms-teams-notification action
      - name: Notify dedicated teams channel
        uses: jdcargile/[email protected]
        with:
          github-token: ${{ github.token }} # this will use the runner's token.
          ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
          notification-summary: Your custom notification message 
          notification-color: 17a2b8
          timezone: America/Denver
  1. Make it your own with the following configurations.
    • github-token - (required), set to the following:
      • ${{ github.token }}
    • webhook-uri - (required), setup a new secret to store your Microsoft Teams Webhook URI (ex. MS_TEAMS_WEBHOOK_URI). Learn more about setting up GitHub Secrets or Microsoft Teams Incoming Webhook.
    • notification-summary (required), Your custom notification message (ex. Deployment Started or Build Successful)
    • notification-color (optional), Custom color to help distinguish type of notification. Can be any HEX color. (ex. 007bff or 17a2b8 for info, 28a745 success, ffc107 warning, dc3545 error, etc.)
    • timezone - (optional, defaults to UTC), a valid database timezone name, (ex. Australia/Sydney or America/Denver, etc.)

Examples

As you can see below, the notification-summary and notification-color are being used to customize the appearance of the message. Use bright vibrant colors to notify your Microsoft Teams channel of warnings or errors in your GitHub Actions workflow.

Emojis

Emoji support isn't great for incoming webhooks on Microsoft Teams yet. You can hack your way through it using HEX codes. For example, in notification-summary I used Emojify! &#x1F6A2​​ ✅ for the following screenshot. HEX codes for emojis here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].