Skip to content

synchealthlabs/github-action-teams

Repository files navigation

Github Actions for Microsoft Teams

Usage

  1. Add MS_TEAMS_WEBHOOK_URI on your repository's configs on Settings > Secrets. See webhook URI for further information
  1. Add a new step on your workflow code as first or last step of workflow job:
name: Github Action for Microsoft Teams

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: synchealthlabs/github-action-teams@main
        if: always() # to let this step always run even if previous step failed
        with:
          github-token: ${{ github.token }}
          webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
          position: start # or finish
          status: ${{ job.status }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published