feat: auto-detect color output in CI environments by vmaerten · Pull Request #2569 · go-task/task
changed the title
feat(flags): auto-detect color output in CI environments
feat: auto-detect color output in CI environments
vmaerten
marked this pull request as ready for review
Automatically enable colored output when running in CI environments (CI=true or GITHUB_ACTIONS=true) without requiring FORCE_COLOR=1. Priority: CLI flag > taskrc config > NO_COLOR > FORCE_COLOR/CI > TTY default Also adds `color` option to taskrc for global configuration.
Also simplify CI detection to only check CI=true since most CI providers (including GitHub Actions) set this variable automatically.
Copilot AI pushed a commit to libor-m/task that referenced this pull request
Mar 27, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters