Skip to content

Commit 7334a60

Browse files
authored
RSDK-9904 - add job to notify slack of proto failure (#467)
1 parent 36502f6 commit 7334a60

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/update_protos.yml

+13
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ jobs:
4242
title: Automated Protos Update
4343
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
4444
team-reviewers: sdk-netcode
45+
46+
- name: Notify slack of failure
47+
uses: slackapi/[email protected]
48+
if: ${{ failure() }}
49+
with:
50+
payload: |
51+
{
52+
"text": "Typescript SDK update protos job has failed",
53+
"username": "Typescript SDK",
54+
"icon_url": "https://media.tenor.com/bZMubztJxGkAAAAe/charlie-brown-walking-charlie-brown.png"
55+
}
56+
env:
57+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEAM_SDK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)