From c3bfa78b42e104c65951294aec6e07c4254dacdd Mon Sep 17 00:00:00 2001 From: arminmobasseri Date: Mon, 16 Dec 2024 15:21:25 -0500 Subject: [PATCH] Create teamsNotification.yml Adding a workflow to use a Github Action to create a Teams notification in the phila.gov dev channel when someone creates a PR. --- .github/workflows/teamsNotification.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/teamsNotification.yml diff --git a/.github/workflows/teamsNotification.yml b/.github/workflows/teamsNotification.yml new file mode 100644 index 0000000000..e14ee1228d --- /dev/null +++ b/.github/workflows/teamsNotification.yml @@ -0,0 +1,15 @@ +name: MS Teams Notification +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + # this is the new step + - uses: dchourasia/ms-teams-notification@1.0 # or "./" if in a local set-up + if: always() + with: + github-token: ${{ github.token }} + webhook-uri: ${{ secrets.TEAMS_WEBHOOK_URL }}