Skip to content

Commit e6952fa

Browse files
committed
Exclude draft PRs
1 parent 99a2007 commit e6952fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/triage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub async fn pulls(
5252
}
5353

5454
let mut pulls: Vec<Value> = Vec::new();
55-
for base_pull in base_pulls.into_iter() {
55+
for base_pull in base_pulls.into_iter().filter(|pull| !pull.draft) {
5656
let assignee = base_pull.assignee.map_or("".to_string(), |v| v.login);
5757
let updated_at = base_pull
5858
.updated_at

0 commit comments

Comments
 (0)