Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): report draft PRs as their own fast-route source

Steven Enamakel8bf8901fe6f9
diff --git a/scripts/ci/ci-fast-route.sh b/scripts/ci/ci-fast-route.sh
index b48b69a71a..d7ab44bfb5 100755
--- a/scripts/ci/ci-fast-route.sh
+++ b/scripts/ci/ci-fast-route.sh
@@ -70,5 +70,5 @@ fi
echo "[ci][route] author=${AUTHOR} actor=${ACTOR} outsider=${outsider} (${reason})"
echo "outsider=${outsider}" >> "$GITHUB_OUTPUT"
# Whether ci-fast.yml's own run decided (ci-fast) or the association fallback
-# did (fallback). ci-lite.yml skips only on a ci-fast decision.
-case "${reason}" in fallback*) echo "source=fallback" ;; *) echo "source=ci-fast" ;; esac >> "$GITHUB_OUTPUT"
+# did (fallback), or the PR is a draft (draft).
+case "${reason}" in fallback*) echo "source=fallback" ;; draft*) echo "source=draft" ;; *) echo "source=ci-fast" ;; esac >> "$GITHUB_OUTPUT"