Skip to content

Commit

Permalink
ci: run TPU only with label (#19143)
Browse files Browse the repository at this point in the history
* ci: run TPU only with label

* drop false

* keep it failing as Carlos likes :)
  • Loading branch information
Borda authored Dec 12, 2023
1 parent 7fee4ae commit 004b0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# run only when the PR title contains 'TPU' or is a merge to master
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/master') ||
(startsWith(github.event_name, 'pull_request') && contains(github.event.pull_request.title, 'TPU'))
(startsWith(github.event_name, 'pull_request') && contains(github.event.pull_request.labels.*.name, 'run TPU'))
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 004b0d1

Please sign in to comment.