[Apple Silicon] Add labeler config (#29908)

Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
This commit is contained in:
R0CKSTAR
2026-07-03 09:43:00 -07:00
committed by GitHub
parent 486bcb48e7
commit 7820dc60a7
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -122,3 +122,13 @@ mthreads:
- any-glob-to-any-file:
- '**/*mthreads*'
- '**/*musa*'
- '**/musa/**'
# Apple Silicon specific
apple-silicon:
- changed-files:
- any-glob-to-any-file:
- '**/*metal*'
- '**/*mlx*'
- '**/mlx/**'
- '**/*mps*'
+2 -2
View File
@@ -14,13 +14,13 @@ permissions:
jobs:
mlx-unit-test:
# Label-gated on 'mlx', reusing the repo's run-ci label-gate mechanism
# Label-gated on 'apple-silicon', reusing the repo's run-ci label-gate mechanism
# (pr-test-rust.yml). The gate keys on the PR's current label set, so any
# event on a labeled PR re-runs the tests and a later unrelated label can't
# mask a prior result. The non-pull_request clause covers push / dispatch.
if: |
github.event_name != 'pull_request' ||
contains(github.event.pull_request.labels.*.name, 'mlx')
contains(github.event.pull_request.labels.*.name, 'apple-silicon')
runs-on: macos-26
timeout-minutes: 60
env: