Merge pull request #13281 from google:tpu_notify_main_only

PiperOrigin-RevId: 489025620
This commit is contained in:
jax authors 2022-11-16 13:36:49 -08:00
commit 3a837c8069

View File

@ -55,7 +55,8 @@ jobs:
JAX_PLATFORMS: tpu,cpu
run: python -m pytest --tb=short tests examples
- name: Send chat on failure
if: failure()
# Don't notify when testing the workflow from a branch.
if: ${{ failure() && github.ref_name == 'main' }}
run: |
curl --location --request POST '${{ secrets.BUILD_CHAT_WEBHOOK }}' \
--header 'Content-Type: application/json' \