Skip to content

The open source coding agent.

TypeScript

ci: only maintainer can trigger

Aiden Cline088ebb967f51
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index 0739d57c030..ffcf085d2cd 100644
--- a/.github/workflows/review.yml
+++ b/.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'))