.github/workflows/ci.yml 🔗
@@ -4,7 +4,7 @@ on:
push:
branches:
- main
- - "v*"
+ - "v[0-9]+.[0-9]+.x"
tags:
- "v*"
pull_request:
Max Brunsfeld created
Omit hidden worktrees when showing projects in collaboration UI
.github/workflows/ci.yml | 2 +-
crates/collab/src/db.rs | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
@@ -4,7 +4,7 @@ on:
push:
branches:
- main
- - "v*"
+ - "v[0-9]+.[0-9]+.x"
tags:
- "v*"
pull_request:
@@ -1924,7 +1924,9 @@ impl Database {
};
if let Some(db_worktree) = db_worktree {
- project.worktree_root_names.push(db_worktree.root_name);
+ if db_worktree.visible {
+ project.worktree_root_names.push(db_worktree.root_name);
+ }
}
}
}