Skip to content

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

fix(ci): remove CLICOLOR_FORCE=1 from Claude workflows (#1347)

worktrunk-botd46c49dc6beb
diff --git a/.github/scripts/list-recent-runs.sh b/.github/scripts/list-recent-runs.sh
index 8bb0be1d4..e280e130a 100755
--- a/.github/scripts/list-recent-runs.sh
+++ b/.github/scripts/list-recent-runs.sh
@@ -11,10 +11,7 @@
set -euo pipefail
-# Prevent gh from emitting ANSI color codes (even in non-TTY contexts).
-# CLICOLOR_FORCE overrides NO_COLOR per the clicolors spec, and Claude Code
-# sets CLICOLOR_FORCE=1 — so we must unset it for NO_COLOR to take effect.
-unset CLICOLOR_FORCE
+# Prevent gh from emitting ANSI color codes in non-TTY contexts.
export NO_COLOR=1
# Dynamically discover all claude-* workflows instead of maintaining a hardcoded list.
diff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yaml
index 6e053da30..70d7e6f1b 100644
--- a/.github/workflows/claude-ci-fix.yaml
+++ b/.github/workflows/claude-ci-fix.yaml
@@ -11,7 +11,6 @@ on:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-hourly-review-reviewers.yaml b/.github/workflows/claude-hourly-review-reviewers.yaml
index 0eb096701..ad6d0cb3a 100644
--- a/.github/workflows/claude-hourly-review-reviewers.yaml
+++ b/.github/workflows/claude-hourly-review-reviewers.yaml
@@ -12,7 +12,6 @@ on:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-issue-triage.yaml b/.github/workflows/claude-issue-triage.yaml
index d40368f1d..1f6ec70de 100644
--- a/.github/workflows/claude-issue-triage.yaml
+++ b/.github/workflows/claude-issue-triage.yaml
@@ -13,7 +13,6 @@ concurrency:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml
index 0d0219d67..9dfe48873 100644
--- a/.github/workflows/claude-mention.yaml
+++ b/.github/workflows/claude-mention.yaml
@@ -12,7 +12,6 @@ on:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-nightly-cleaner.yaml b/.github/workflows/claude-nightly-cleaner.yaml
index e41e47183..be961430c 100644
--- a/.github/workflows/claude-nightly-cleaner.yaml
+++ b/.github/workflows/claude-nightly-cleaner.yaml
@@ -13,7 +13,6 @@ on:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-renovate.yaml b/.github/workflows/claude-renovate.yaml
index 882bf1066..e908e86d3 100644
--- a/.github/workflows/claude-renovate.yaml
+++ b/.github/workflows/claude-renovate.yaml
@@ -10,7 +10,6 @@ on:
# Consistent with ci.yaml for cache compatibility
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"
diff --git a/.github/workflows/claude-review.yaml b/.github/workflows/claude-review.yaml
index 12e513c50..4e3e26a43 100644
--- a/.github/workflows/claude-review.yaml
+++ b/.github/workflows/claude-review.yaml
@@ -12,7 +12,6 @@ on:
env:
CARGO_TERM_COLOR: always
- CLICOLOR_FORCE: 1
RUSTFLAGS: "-C debuginfo=0"
RUSTDOCFLAGS: "-Dwarnings"