Skip to content

Add JSON-RPC access to directories and server lists. #99

Add JSON-RPC access to directories and server lists.

Add JSON-RPC access to directories and server lists. #99

name: Check JSON-RPC docs
permissions: {}
on:
pull_request:
branches:
- main
paths:
- 'tools/generate_json_rpc_docs.py'
- 'src/*rpc*.cpp'
jobs:
check-json-rpc-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./tools/generate_json_rpc_docs.py
- run: |
[[ -z "$(git status --porcelain=v1)" ]] && exit 0
echo "Please run ./tools/generate_json_rpc_docs.py to regenerate docs/JSON-RPC.md"
exit 1