Skip to content

Commit

Permalink
RSDK-9904 - add job to notify slack of proto failure (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuqdog authored Feb 18, 2025
1 parent b092a73 commit ecc9217
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 @@ -52,3 +52,16 @@ jobs:
gh pr view workflow/update-protos && gh pr reopen workflow/update-protos || gh pr create -B main -H workflow/update-protos -t "Automated Protos Update" -b "This is an auto-generated PR to update proto definitions. Check the commits to see which repos and commits are responsible for the changes" -a njooma -r njooma
env:
GH_TOKEN: ${{ github.token }}

- name: Notify slack of failure
uses: slackapi/[email protected]
if: ${{ failure() }}
with:
payload: |
{
"text": "Python SDK update protos job has failed",
"username": "Python 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 ecc9217

Please sign in to comment.