aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/api-docs-check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/api-docs-check.yml')
-rw-r--r--.github/workflows/api-docs-check.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/api-docs-check.yml b/.github/workflows/api-docs-check.yml
new file mode 100644
index 0000000000..0a57df7c33
--- /dev/null
+++ b/.github/workflows/api-docs-check.yml
@@ -0,0 +1,18 @@
+name: Missing API docs
+on:
+ pull_request:
+ branches-ignore:
+ - 'marvim/api-doc-update**'
+ paths:
+ - 'src/nvim/api/*.[ch]'
+ - 'runtime/lua/**.lua'
+ - 'runtime/doc/**'
+
+jobs:
+ call-regen-api-docs:
+ permissions:
+ contents: write
+ pull-requests: write
+ uses: ./.github/workflows/api-docs.yml
+ with:
+ check_only: true