ci(api-docs): show required changes with color

It makes it easier to see what needs to be changed.
This commit is contained in:
Dundar Goc 2022-05-28 21:38:29 +02:00
parent 081eb72a80
commit d353d5f002

View File

@ -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 }}