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: