Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(ci): use NO_COLOR to prevent ANSI codes in list-recent-runs.sh (#1317)

worktrunk-bot935279f0fdaa
diff --git a/.github/scripts/list-recent-runs.sh b/.github/scripts/list-recent-runs.sh
index 9dbae47f1..ba5721a07 100755
--- a/.github/scripts/list-recent-runs.sh
+++ b/.github/scripts/list-recent-runs.sh
@@ -11,6 +11,9 @@
set -euo pipefail
+# Prevent gh from emitting ANSI color codes (even in non-TTY contexts).
+export NO_COLOR=1
+
# Dynamically discover all claude-* workflows instead of maintaining a hardcoded list.
mapfile -t WORKFLOWS < <(gh workflow list --json name --jq '.[].name | select(startswith("claude-"))')