chore: auto label github prs

This commit is contained in:
Fu Diwei
2026-04-07 17:14:55 +08:00
parent 233a811ca4
commit 7b2b7d685f
+18
View File
@@ -0,0 +1,18 @@
name: "GitHub Pull Requests Labeler"
on:
pull_request:
types: [opened, reopened, ready_for_review]
jobs:
add-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Add waiting-for-review label
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: "pr: waiting for review"
number: ${{ github.event.pull_request.number }}