Enable sending Teams notification when workflow fails (#15982)

This commit is contained in:
Aditya Patwardhan
2021-09-15 11:01:13 -07:00
parent cb0773c003
commit 93f8840260
+5
View File
@@ -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