Skip to content

Commit 0b1abc9

Browse files
authored
Merge pull request #148 from github/jm_pull_request_target_only
chore: remove pull_request target if we already have pull_request_target
2 parents 11df42d + 9e61608 commit 0b1abc9

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/auto-labeler.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
name: Auto Labeler
33

44
on:
5-
# pull_request event is required only for autolabeler
6-
pull_request:
7-
# Only following types are handled by the action, but one can default to all as well
8-
types: [opened, reopened, synchronize]
9-
# pull_request_target event is required for autolabeler to support PRs from forks
5+
# pull_request_target event is required for autolabeler to support all PRs including forks
106
pull_request_target:
117
types: [opened, reopened, synchronize]
128

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
on:
55
workflow_dispatch:
6-
pull_request:
7-
types:
8-
- closed
9-
branches:
10-
- main
116
pull_request_target:
127
types:
138
- closed

0 commit comments

Comments
 (0)