commit d353d5f002bf27f7f2d1bd2e5fbe12822b6aca71
parent 081eb72a80afd83398465382171765bdeaf6dba5
Author: Dundar Goc <gocdundar@gmail.com>
Date: Sat, 28 May 2022 21:38:29 +0200
ci(api-docs): show required changes with color
It makes it easier to see what needs to be changed.
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 }}