huskies: merge 958
This commit is contained in:
@@ -28,7 +28,12 @@ pub(super) fn find_active_story_stage(
|
||||
story_id: &str,
|
||||
) -> Option<crate::pipeline_state::Stage> {
|
||||
if let Ok(Some(item)) = crate::pipeline_state::read_typed(story_id)
|
||||
&& item.stage.is_active()
|
||||
&& matches!(
|
||||
item.stage,
|
||||
crate::pipeline_state::Stage::Coding
|
||||
| crate::pipeline_state::Stage::Qa
|
||||
| crate::pipeline_state::Stage::Merge { .. }
|
||||
)
|
||||
{
|
||||
return Some(item.stage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user