summaryrefslogtreecommitdiff
path: root/.github/workflows/check-toc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check-toc.yml')
-rw-r--r--.github/workflows/check-toc.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/check-toc.yml b/.github/workflows/check-toc.yml
new file mode 100644
index 000000000..2b478cb63
--- /dev/null
+++ b/.github/workflows/check-toc.yml
@@ -0,0 +1,13 @@
+name: Check Table of Contents (comment /regenerate-toc to auto-fix)
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+jobs:
+ check-formatting:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - run: ./docs/build_toc.sh --check-only