Skip to content

Commit 4135ce6

Browse files
committed
ci: exclude draft PRs from auto-review and trigger on ready_for_review
1 parent 0624450 commit 4135ce6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/gemini-dispatch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
pull_request:
1111
types:
1212
- 'opened'
13+
- 'ready_for_review'
1314
issues:
1415
types:
1516
- 'opened'
@@ -49,7 +50,8 @@ jobs:
4950
if: |-
5051
(
5152
github.event_name == 'pull_request' &&
52-
github.event.pull_request.head.repo.fork == false
53+
github.event.pull_request.head.repo.fork == false &&
54+
github.event.pull_request.draft == false
5355
) || (
5456
github.event_name == 'issues' &&
5557
contains(fromJSON('["opened", "reopened"]'), github.event.action)

0 commit comments

Comments
 (0)