From 947b99e8ebaa81e9c8ee9b0f3e247d8d329041ad Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 28 Nov 2024 15:43:36 +0800 Subject: Add Table of Contents check to CI, and bot script to regenerate (#5618) * Sort filenames when generating table of contents The order of EnumerateFiles is unspecified * Add build table of contents bash script * Add toc checking to CI * Add --check-only option to toc checking * regenerate ToC --- .github/workflows/slash-command-dispatch.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows/slash-command-dispatch.yml') diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml index 3d59498da..0295e7240 100644 --- a/.github/workflows/slash-command-dispatch.yml +++ b/.github/workflows/slash-command-dispatch.yml @@ -19,6 +19,11 @@ jobs: "command": "format", "permission": "none", "issue_type": "pull-request" + }, + { + "command": "regenerate-toc", + "permission": "none", + "issue_type": "pull-request" } ] -- cgit v1.2.3