Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

ci: protect the latest branch from the branch pruner (#3855)

Cindy Zhang7bd942916cce
diff --git a/scripts/prune-branches.sh b/scripts/prune-branches.sh
index 6b37311a33..de4b841a79 100755
--- a/scripts/prune-branches.sh
+++ b/scripts/prune-branches.sh
@@ -13,7 +13,7 @@
set -euo pipefail
REPO="facebook/astryx"
-PROTECTED="main|gh-pages"
+PROTECTED="main|latest|gh-pages"
MODE="${1:-dry-run}"
PARALLEL=15
STALE_DAYS=60 # branches with no PR older than this are also flagged