diff --git a/src/triage.rs b/src/triage.rs index 45aa64e7..27b3b4e1 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