Skip to content

Commit 9598143

Browse files
committed
fixup! Update release-drafter.yml to add PR events for autolabeler (#41)
1 parent a574a55 commit 9598143

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/labeler.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: PR Autolabeler
2+
3+
on:
4+
# pull_request event is required for autolabeler
5+
pull_request:
6+
types: [opened, reopened, synchronize]
7+
8+
jobs:
9+
draft-release:
10+
uses: cpp-linter/.github/.github/workflows/release-drafter.yml@main

.github/workflows/release-drafter.yml

-7
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ 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]
147
workflow_dispatch:
158

169
jobs:

0 commit comments

Comments
 (0)