diff --git a/src/triage.rs b/src/triage.rs index 456be5a0..d69a1909 100644 --- a/src/triage.rs +++ b/src/triage.rs @@ -52,7 +52,7 @@ pub async fn pulls( } let mut pulls: Vec = Vec::new(); - for base_pull in base_pulls.into_iter() { + for base_pull in base_pulls.into_iter().filter(|pull| !pull.draft) { let assignee = base_pull.assignee.map_or("".to_string(), |v| v.login); let updated_at = base_pull .updated_at