Skip to content

Commit c6236a4

Browse files
committed
Add opened trigger for non-draft PRs
1 parent e2853bf commit c6236a4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/codex-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Codex review
66
# wrapped in explicit delimiters in the prompt.
77
on:
88
pull_request_target:
9-
types: [ready_for_review]
9+
types: [opened, ready_for_review]
1010
issue_comment:
1111
types: [created]
1212

@@ -24,6 +24,7 @@ jobs:
2424
(
2525
github.event_name == 'pull_request_target'
2626
&& !contains(github.event.pull_request.title, 'Revert')
27+
&& github.event.pull_request.draft == false
2728
)
2829
|| (
2930
github.event_name == 'issue_comment'

0 commit comments

Comments
 (0)