diff --git a/.github/workflows/update_protos.yml b/.github/workflows/update_protos.yml index 483eda9a6..cdb069a7c 100644 --- a/.github/workflows/update_protos.yml +++ b/.github/workflows/update_protos.yml @@ -42,3 +42,16 @@ jobs: title: Automated Protos Update 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 team-reviewers: sdk-netcode + + - name: Notify slack of failure + uses: slackapi/slack-github-action@v1.24.0 + if: ${{ failure() }} + with: + payload: | + { + "text": "Typescript SDK update protos job has failed", + "username": "Typescript SDK", + "icon_url": "https://media.tenor.com/bZMubztJxGkAAAAe/charlie-brown-walking-charlie-brown.png" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEAM_SDK_WEBHOOK_URL }}