Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 593 Bytes

File metadata and controls

30 lines (22 loc) · 593 Bytes

Caution

This repository was moved to https://github.com/ecmwf/notify-teams-pr. Do not update!

Notify Teams - New PR

A GitHub Action that notifies of a new Pull Request via Microsoft Teams.

See action.yml for required inputs.

Usage

Create a file .github/workflows/notify-new-pr.yml

name: Notify new PR

on:
  pull_request:
    types:
      - "opened"

jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - name: Notify new PR
        uses: ecmwf-actions/notify-teams-pr@v1
        with:
          incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}