From 7b2b7d685fbf293a1cc60b94de6afae7dc2280dc Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 7 Apr 2026 17:14:55 +0800 Subject: [PATCH] chore: auto label github prs --- .github/workflows/gh_pr_label.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/gh_pr_label.yml diff --git a/.github/workflows/gh_pr_label.yml b/.github/workflows/gh_pr_label.yml new file mode 100644 index 000000000..f29bd1777 --- /dev/null +++ b/.github/workflows/gh_pr_label.yml @@ -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 }}