From 1b64f1f2f5505dfab32fcd48b4b49068e3895c45 Mon Sep 17 00:00:00 2001 From: Ethan Rodkin Date: Wed, 12 Feb 2025 10:14:17 -0500 Subject: [PATCH 1/2] add job to notify slack of proto failure --- .github/workflows/update_protos.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/update_protos.yml b/.github/workflows/update_protos.yml index 483eda9a6..adfa2c9f9 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": "Flutter SDK update protos job has failed", + "username": "Flutter SDK", + "icon_url": "https://media.tenor.com/bZMubztJxGkAAAAe/charlie-brown-walking-charlie-brown.png" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEAM_SDK_WEBHOOK_URL }} From fa31335b637a15ba886b7a6e90a8bcd6466be377 Mon Sep 17 00:00:00 2001 From: Ethan Rodkin Date: Wed, 12 Feb 2025 10:21:21 -0500 Subject: [PATCH 2/2] fix name --- .github/workflows/update_protos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_protos.yml b/.github/workflows/update_protos.yml index adfa2c9f9..cdb069a7c 100644 --- a/.github/workflows/update_protos.yml +++ b/.github/workflows/update_protos.yml @@ -49,8 +49,8 @@ jobs: with: payload: | { - "text": "Flutter SDK update protos job has failed", - "username": "Flutter SDK", + "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: