From 088ebb967f514fa08ba10b21c46dc123ffdf3f84 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 4 Dec 2025 01:07:04 -0600 Subject: [PATCH] ci: only maintainer can trigger --- .github/workflows/review.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 0739d57c0..ffcf085d2 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'))