Procházet zdrojové kódy

ci: only maintainer can trigger

Aiden Cline před 2 měsíci
rodič
revize
088ebb967f
1 změnil soubory, kde provedl 0 přidání a 4 odebrání
  1. 0 4
      .github/workflows/review.yml

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

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