aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-28 21:38:29 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-28 21:42:40 +0200
commitd353d5f002bf27f7f2d1bd2e5fbe12822b6aca71 (patch)
treee75aa132c429de55c2c89da6d7a7f77bf105cb58
parent081eb72a80afd83398465382171765bdeaf6dba5 (diff)
downloadrneovim-d353d5f002bf27f7f2d1bd2e5fbe12822b6aca71.tar.gz
rneovim-d353d5f002bf27f7f2d1bd2e5fbe12822b6aca71.tar.bz2
rneovim-d353d5f002bf27f7f2d1bd2e5fbe12822b6aca71.zip
ci(api-docs): show required changes with color
It makes it easier to see what needs to be changed.
-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 }}