Skip to content

Commit

Permalink
RSDK-9904 - add job to notify slack of proto failure (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuqdog authored Feb 18, 2025
1 parent 4a72261 commit cc3bad0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/update_protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,16 @@ jobs:
body: This is an auto-generated PR to update proto definitions. Check the commits to see which repos and commits are responsible for the changes
assignees: stuqdog
reviewers: stuqdog

- name: Notify slack of failure
uses: slackapi/[email protected]
if: ${{ failure() }}
with:
payload: |
{
"text": "CPP SDK update protos job has failed",
"username": "CPP SDK",
"icon_url": "https://media.tenor.com/bZMubztJxGkAAAAe/charlie-brown-walking-charlie-brown.png"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEAM_SDK_WEBHOOK_URL }}

0 comments on commit cc3bad0

Please sign in to comment.