feat: mark pull requests approved by the authenticated user
This commit is contained in:
+6
-1
@@ -1631,7 +1631,12 @@ impl Repository {
|
||||
remote: remote.clone(),
|
||||
number: pull.number,
|
||||
},
|
||||
label: format!("#{} {}", pull.number, pull.title),
|
||||
label: format!(
|
||||
"{}#{} {}",
|
||||
if pull.approved { "✓ " } else { " " },
|
||||
pull.number,
|
||||
pull.title
|
||||
),
|
||||
description: pull.description,
|
||||
category: if pull.closed {
|
||||
Category::Closed
|
||||
|
||||
Reference in New Issue
Block a user