[misc] Add labeler for automatic labeling (#12710)

This commit is contained in:
Chang Su
2025-11-05 14:44:43 -08:00
committed by GitHub
parent 141278048e
commit 83b104ee8c
3 changed files with 136 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Auto Label PRs
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
sync-labels: true