Skip to content

Commit

Permalink
Exclude draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
camelid committed Mar 14, 2021
1 parent 99a2007 commit e6952fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub async fn pulls(
}

let mut pulls: Vec<Value> = 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
Expand Down

0 comments on commit e6952fa

Please sign in to comment.