Skip to content

Commit 196fc05

Browse files
authored
Update release-drafter.yml to add PR events for autolabeler (#41)
1 parent 2f028bb commit 196fc05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release-drafter.yml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
push:
55
branches:
66
- "main"
7+
# pull_request event is required only for autolabeler
8+
pull_request:
9+
# Only following types are handled by the action, but one can default to all as well
10+
types: [opened, reopened, synchronize]
11+
# pull_request_target event is required for autolabeler to support PRs from forks
12+
pull_request_target:
13+
types: [opened, reopened, synchronize]
714
workflow_dispatch:
815

916
jobs:

0 commit comments

Comments
 (0)