From 196fc05faa78d0bae93caf1513fbb2bf4d99a084 Mon Sep 17 00:00:00 2001 From: Peter Shen Date: Fri, 8 Mar 2024 00:12:03 +0800 Subject: [PATCH] Update release-drafter.yml to add PR events for autolabeler (#41) --- .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: