2
0
Эх сурвалжийг харах

ci: only maintainer can trigger

Aiden Cline 2 сар өмнө
parent
commit
088ebb967f

+ 0 - 4
.github/workflows/review.yml

@@ -1,16 +1,12 @@
 name: Guidelines Check
 
 on:
-  pull_request_target:
-    types: [opened, ready_for_review]
   issue_comment:
     types: [created]
 
 jobs:
   check-guidelines:
     if: |
-      (github.event_name == 'pull_request_target' &&
-       github.event.pull_request.draft == false) ||
       (github.event_name == 'issue_comment' &&
        github.event.issue.pull_request &&
        startsWith(github.event.comment.body, '/review'))