aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/api-docs.yml
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
commit7a7f497b483cd65e340064f23ed1c73425ecba0a (patch)
treed5c99ea22a1e10300d06165f8ac96df6b0dc59e1 /.github/workflows/api-docs.yml
parent1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (diff)
parentade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff)
downloadrneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.gz
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.bz2
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.zip
Merge remote-tracking branch 'upstream/master' into aucmd_textputpost
Diffstat (limited to '.github/workflows/api-docs.yml')
-rw-r--r--.github/workflows/api-docs.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
deleted file mode 100644
index 6f8fe107d2..0000000000
--- a/.github/workflows/api-docs.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-# Check if any PR needs to run the autogenerate script
-name: Autogenerate API docs and types
-on:
- pull_request:
- types: [opened, synchronize, reopened, ready_for_review]
- paths:
- - 'src/nvim/api/*.[ch]'
- - 'src/nvim/eval.lua'
- - 'runtime/lua/**.lua'
- - 'runtime/doc/**'
-
-jobs:
- regen-api-docs-and-types:
- runs-on: ubuntu-latest
- if: github.event.pull_request.draft == false
- permissions:
- contents: write
- pull-requests: write
- steps:
- - uses: actions/checkout@v4
- - name: Install dependencies
- run: |
- ./.github/scripts/install_deps.sh
- sudo apt-get install -y doxygen python3-msgpack
- - uses: ./.github/actions/cache
-
- - name: Generate docs
- run: |
- make doc
- if [ -n "$(git status --porcelain)" ]; then
- echo "::error::Job failed, run 'make doc' and commit your doc changes."
- echo "::error::The doc generation produces the following changes:"
- git diff --color --exit-code
- fi