From 571ad1efc74a191d27267284c6acb9b81f73b4a9 Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:09:46 -0400 Subject: [PATCH] fix: force colorful output for status and diff --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbf49bf..1abc4fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,8 +72,10 @@ jobs: if [[ $(git status --porcelain) ]]; then echo '::error title=Rebuilt Javascript bundles and found a different output.::Did you run `pnpm build`?' - git status - git diff + # Force colorful output for these commands, since a human and not a machine is meant to + # read them. + git -c color.ui=always status + git -c color.ui=always diff exit 1 else