Merge pull request #11624 from alexalemi:notifications

PiperOrigin-RevId: 463390452
This commit is contained in:
jax authors 2022-07-26 11:43:51 -07:00
commit 9f96a0474e

View File

@ -1,21 +0,0 @@
name: Google Chat Broken Main Notification
on:
check_suite:
types:
- completed
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Google Chat Notification
if: ${{ github.event.check_suite.conclusion == 'failure' }}
run: |
curl --location --request POST '${{ secrets.RELEASES_WEBHOOK }}' \
--header 'Content-Type: application/json' \
--data-raw '{
"text": "Main is broken! @ ${{github.event.check_suite.created_at}} see <${{github.event.check_suite.url}}|[github]>"
}'