Merge pull request #18788 from dundargoc/ci/api-docs/color

ci(api-docs): show required changes with color
This commit is contained in:
James McCoy 2022-06-08 19:55:51 -04:00 committed by GitHub
commit 10291bb854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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