Skip to content

Commit 7f71885

Browse files
committed
Meta/cook: more auto-transition of states
Just like "Will merge to 'next'" is automatically promoted to "Will merge to 'master'" once the topic is merged to 'next', transition two more states automatically when a topic is merged to 'next'. "Will merge to and cook in 'next'" will become "Will cook in 'next'" "Will merge to 'next' and then to 'master'" will become "Will merge to 'master'".
1 parent 23bf560 commit 7f71885

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cook

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ sub tweak_willdo {
557557
$desc =~ s/\n<<\n.*//s;
558558
if ($desc =~ /^ \(merged to 'next'/m) {
559559
$text =~ s/^ Will merge to 'next'\.$/ Will merge to 'master'./m;
560+
$text =~ s/^ Will merge to and then cook in 'next'\.$/ Will cook in 'next'./m;
561+
$text =~ s/^ Will merge to 'next' and then to 'master'\.$/ Will merge to 'master'./m;
560562
}
561563
$td->{'text'} = $text;
562564
}

0 commit comments

Comments
 (0)