The open source coding agent.
TypeScript
ci: make review only fire on non draft pr creation
Aiden Cline3181c68cbba6
diff --git a/.github/workflows/review.yml b/.github/workflows/review.ymlindex 7bee92d1009..6e4f02021c7 100644--- a/.github/workflows/review.yml+++ b/.github/workflows/review.yml@@ -9,10 +9,11 @@ on:jobs:check-guidelines:if: |- github.event_name == 'pull_request_target' ||+ (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'))+ startsWith(github.event.comment.body, '/review'))runs-on: ubuntu-latestpermissions:contents: read