Skip to content

Commit

Permalink
CAB-6258: Update GitHub actions to send alerts to MSTeams channels.
Browse files Browse the repository at this point in the history
  • Loading branch information
farmas committed Oct 21, 2024
1 parent fa58e82 commit d4a8df3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI Build
name: "pws-client: CI Build"

on: [push]

Expand Down Expand Up @@ -28,10 +28,9 @@ jobs:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Slack Notification
- name: Send Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_TITLE: gws-client Build Alert
SLACK_COLOR: '#ff0000'
uses: uw-it-edm/notify-microsoft-teams@master
with:
webhook_url: ${{ secrets.MSTEAMS_CI_BUILDS }}
job: ${{ toJson(job) }}

0 comments on commit d4a8df3

Please sign in to comment.