Add GitHub action for labelling PRs

This commit is contained in:
Junegunn Choi
2026-02-24 20:20:04 +09:00
parent 4d6a7757b8
commit 0ff13dcfbe
10 changed files with 504 additions and 179 deletions

17
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Label PRs
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yml