From c42d032c5b2d536ed8c5a5b5e9ae480d487ce487 Mon Sep 17 00:00:00 2001 From: RHQYZ Date: Fri, 15 May 2026 13:39:02 +0800 Subject: [PATCH] chore(gh): auto label github prs --- .github/workflows/gh_pr_label.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh_pr_label.yml b/.github/workflows/gh_pr_label.yml index 6034f2315..03a92b3f9 100644 --- a/.github/workflows/gh_pr_label.yml +++ b/.github/workflows/gh_pr_label.yml @@ -1,8 +1,14 @@ name: "GitHub Pull Requests Labeler" on: - pull_request: - types: [opened, reopened, ready_for_review] + pull_request_target: + types: + - opened + - reopened + - ready_for_review + branches: + - 'main' + - 'next' jobs: add-label: