mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #17873 from muniter/jl-apidocs-improvementes
ci(doc): improve missing docs workflow
This commit is contained in:
commit
b66cc0f569
1
.github/workflows/api-docs-check.yml
vendored
1
.github/workflows/api-docs-check.yml
vendored
@ -7,6 +7,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'src/nvim/api/*.[ch]'
|
- 'src/nvim/api/*.[ch]'
|
||||||
- 'runtime/lua/**.lua'
|
- 'runtime/lua/**.lua'
|
||||||
|
- 'runtime/doc/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-regen-api-docs:
|
call-regen-api-docs:
|
||||||
|
3
.github/workflows/api-docs.yml
vendored
3
.github/workflows/api-docs.yml
vendored
@ -7,6 +7,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'src/nvim/api/*.[ch]'
|
- 'src/nvim/api/*.[ch]'
|
||||||
- 'runtime/lua/**.lua'
|
- 'runtime/lua/**.lua'
|
||||||
|
- 'runtime/doc/**'
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
- 'release-[0-9]+.[0-9]+'
|
- 'release-[0-9]+.[0-9]+'
|
||||||
@ -56,6 +57,8 @@ jobs:
|
|||||||
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && inputs.check_only }}
|
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && inputs.check_only }}
|
||||||
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:"
|
||||||
|
git --no-pager diff
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Automatic PR
|
- name: Automatic PR
|
||||||
|
Loading…
Reference in New Issue
Block a user