Skip to content

Commit

Permalink
Merge pull request jax-ml#13281 from google:tpu_notify_main_only
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 489025620
  • Loading branch information
jax authors committed Nov 16, 2022
2 parents 58af581 + b4564a2 commit 3a837c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cloud-tpu-ci-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 3a837c8

Please sign in to comment.