Skip to content

Commit 088ebb9

Browse files
committed
ci: only maintainer can trigger
1 parent bcf740f commit 088ebb9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/review.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
name: Guidelines Check
22

33
on:
4-
pull_request_target:
5-
types: [opened, ready_for_review]
64
issue_comment:
75
types: [created]
86

97
jobs:
108
check-guidelines:
119
if: |
12-
(github.event_name == 'pull_request_target' &&
13-
github.event.pull_request.draft == false) ||
1410
(github.event_name == 'issue_comment' &&
1511
github.event.issue.pull_request &&
1612
startsWith(github.event.comment.body, '/review'))

0 commit comments

Comments
 (0)