From fafdfee271edd8dcda824f697964fc45a5a5c67f Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Thu, 7 Mar 2024 23:58:24 +0800 Subject: [PATCH] Update release-drafter.yml to add PR events for autolabeler --- .github/workflows/release-drafter.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 2250d38..9d174b0 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,6 +4,13 @@ on: push: branches: - "main" + # pull_request event is required only for autolabeler + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + # pull_request_target event is required for autolabeler to support PRs from forks + pull_request_target: + types: [opened, reopened, synchronize] workflow_dispatch: jobs: