From 8c6dff95c1746abec17bf1a1ed41bbf85cf7b273 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Mon, 23 Aug 2021 14:30:15 -0700 Subject: [PATCH] Enable sending Teams notification when workdlow fails --- .github/workflows/daily.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 1535fced8..6e3a38ac1 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -43,6 +43,11 @@ jobs: Write-Verbose "CREATE_PR=true" -Verbose "CREATE_PR=true" | Out-File $env:GITHUB_ENV -Append } + - name: Microsoft Teams Notifier + uses: skitionek/notify-microsoft-teams@master + if: failure() + with: + webhook_url: ${{ secrets.PS_BUILD_TEAMS_CHANNEL }} - name: Create Pull Request uses: peter-evans/create-pull-request@v2 id: cpr