From 1d5ccc2225895cafa43a71f4fb4f0e05c994bfb0 Mon Sep 17 00:00:00 2001 From: Sivert Date: Wed, 9 Sep 2026 10:23:31 +0200 Subject: [PATCH] Check the reference pages here, not a day later (GRYT-1100) The three generated pages in docs are written from doc comments in this repository and two others. The superproject checks them on a schedule, which reports hours later in a repository nobody touched. GRYT-1096 and GRYT-1099 were both that. Same check, on the pull request that causes it, through the shared workflow in Gryt-chat/.github. Co-Authored-By: Claude Opus 5 --- .github/workflows/api-reference.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/api-reference.yml diff --git a/.github/workflows/api-reference.yml b/.github/workflows/api-reference.yml new file mode 100644 index 0000000..850b8f8 --- /dev/null +++ b/.github/workflows/api-reference.yml @@ -0,0 +1,24 @@ +name: API reference + +# The bot reference page in `docs` is generated from the doc comments in src, +# so editing one here leaves that page describing something gone. + +# Runs the superproject's check here, on the pull request that causes it, rather +# than leaving it to the nightly sweep over there. GRYT-1100. + +on: + pull_request: + paths: + - src/** + - .github/workflows/api-reference.yml + + workflow_dispatch: + +permissions: + contents: read + +jobs: + reference: + uses: Gryt-chat/.github/.github/workflows/api-reference.yml@main + with: + component: bot