commit 10291bb8541e461cd3b089bb05c1e3b3946955c5
parent 94181ad7dcb75e1e188164276696434e03302a21
Author: James McCoy <jamessan@jamessan.com>
Date: Wed, 8 Jun 2022 19:55:51 -0400
Merge pull request #18788 from dundargoc/ci/api-docs/color
ci(api-docs): show required changes with color
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
@@ -59,8 +59,7 @@ jobs:
run: |
echo "Job failed, run ./scripts/gen_vimdoc.py and commit your doc changes"
echo "The doc generation produces the following changes:"
- git --no-pager diff
- exit 1
+ git diff --color --exit-code
- name: Automatic PR
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && !inputs.check_only }}