mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00

1. Add new pattern `runtime/doc/**`. This is a common case were the contributor modifies only the help file but the doc gen would discard their changes. 2. Add to the output what the changes after running doc gen would be. [skip ci]
21 lines
475 B
YAML
21 lines
475 B
YAML
name: Missing API docs
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
branches-ignore:
|
|
- 'marvim/api-doc-update**'
|
|
paths:
|
|
- 'src/nvim/api/*.[ch]'
|
|
- 'runtime/lua/**.lua'
|
|
- 'runtime/doc/**'
|
|
|
|
jobs:
|
|
call-regen-api-docs:
|
|
if: github.event.pull_request.draft == false
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
uses: ./.github/workflows/api-docs.yml
|
|
with:
|
|
check_only: true
|