Skip to content

Commit

Permalink
Notify on MoxText build failures.
Browse files Browse the repository at this point in the history
The action will find the latest open issue with the label "build failed" and add a comment.
If no such issue is open, it will instead open a new issue. We exclude failures on pull requests
because they represent in-development work where failures are more expected.

Reference: https://github.com/jayqi/failed-build-issue-action
  • Loading branch information
shralex committed Jan 30, 2025
1 parent 6bd6615 commit bfac432
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/RunTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ jobs:
run: gcloud container images delete gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:gpu --force-delete-tags --quiet
- name: Delete TPU image
run: gcloud container images delete gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:tpu --force-delete-tags --quiet
- name: Notify failed build # creates an issue or modifies last open existing issue for failed build
uses: jayqi/failed-build-issue-action@1a893bbf43ef1c2a8705e2b115cd4f0fe3c5649b # v1.2.0
if: failure() && github.event.pull_request == null
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bfac432

Please sign in to comment.