mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -07:00
Merge pull request #18788 from dundargoc/ci/api-docs/color
ci(api-docs): show required changes with color
This commit is contained in:
commit
10291bb854
3
.github/workflows/api-docs.yml
vendored
3
.github/workflows/api-docs.yml
vendored
@ -59,8 +59,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Job failed, run ./scripts/gen_vimdoc.py and commit your doc changes"
|
echo "Job failed, run ./scripts/gen_vimdoc.py and commit your doc changes"
|
||||||
echo "The doc generation produces the following changes:"
|
echo "The doc generation produces the following changes:"
|
||||||
git --no-pager diff
|
git diff --color --exit-code
|
||||||
exit 1
|
|
||||||
|
|
||||||
- name: Automatic PR
|
- name: Automatic PR
|
||||||
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && !inputs.check_only }}
|
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && !inputs.check_only }}
|
||||||
|
Loading…
Reference in New Issue
Block a user