File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ pub enum Label {
1212 FCP ,
1313 Postponed ,
1414 Closed ,
15+ ToAnnounce ,
1516 DispositionMerge ,
1617 DispositionClose ,
1718 DispositionPostpone ,
@@ -26,6 +27,7 @@ impl Label {
2627 FCP => "final-comment-period" ,
2728 Postponed => "postponed" ,
2829 Closed => "closed" ,
30+ ToAnnounce => "to-announce" ,
2931 DispositionMerge => "disposition-merge" ,
3032 DispositionClose => "disposition-close" ,
3133 DispositionPostpone => "disposition-postpone" ,
Original file line number Diff line number Diff line change @@ -493,7 +493,15 @@ fn evaluate_ffcps() -> DashResult<()> {
493493 let label_res = issue. add_label ( Label :: FFCP ) ;
494494 issue. remove_label ( Label :: FCP ) ;
495495 let added_label = match label_res {
496- Ok ( _) => true ,
496+ Ok ( _) => {
497+ if let Err ( why) = issue. add_label ( Label :: ToAnnounce ) {
498+ warn ! (
499+ "Unable to add to-announce label to {}#{}: {:?}" ,
500+ & issue. repository, issue. number, why
501+ ) ;
502+ }
503+ true
504+ }
497505 Err ( why) => {
498506 warn ! (
499507 "Unable to add Finished-FCP label to {}#{}: {:?}" ,
You can’t perform that action at this time.
0 commit comments