File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ pub enum Label {
12
12
FCP ,
13
13
Postponed ,
14
14
Closed ,
15
+ ToAnnounce ,
15
16
DispositionMerge ,
16
17
DispositionClose ,
17
18
DispositionPostpone ,
@@ -26,6 +27,7 @@ impl Label {
26
27
FCP => "final-comment-period" ,
27
28
Postponed => "postponed" ,
28
29
Closed => "closed" ,
30
+ ToAnnounce => "to-announce" ,
29
31
DispositionMerge => "disposition-merge" ,
30
32
DispositionClose => "disposition-close" ,
31
33
DispositionPostpone => "disposition-postpone" ,
Original file line number Diff line number Diff line change @@ -493,7 +493,15 @@ fn evaluate_ffcps() -> DashResult<()> {
493
493
let label_res = issue. add_label ( Label :: FFCP ) ;
494
494
issue. remove_label ( Label :: FCP ) ;
495
495
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
+ }
497
505
Err ( why) => {
498
506
warn ! (
499
507
"Unable to add Finished-FCP label to {}#{}: {:?}" ,
You can’t perform that action at this time.
0 commit comments