Skip to content

Commit 93f8840

Browse files
Enable sending Teams notification when workflow fails (#15982)
1 parent cb0773c commit 93f8840

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/daily.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
Write-Verbose "CREATE_PR=true" -Verbose
4444
"CREATE_PR=true" | Out-File $env:GITHUB_ENV -Append
4545
}
46+
- name: Microsoft Teams Notifier
47+
uses: skitionek/notify-microsoft-teams@master
48+
if: failure()
49+
with:
50+
webhook_url: ${{ secrets.PS_BUILD_TEAMS_CHANNEL }}
4651
- name: Create Pull Request
4752
uses: peter-evans/create-pull-request@v2
4853
id: cpr

0 commit comments

Comments
 (0)