aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/api-docs.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 52f312c75f..83554e2a3d 100644
--- 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 }}