From df322cdff8c03e1394c461406cec43eb1301dbbf Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 17 Sep 2026 06:46:24 +0000 Subject: [PATCH] CI: Add a sanity job to check the docs XML, and run the sanity workflow for all changes to docs/. Co-Authored-By: Claude Opus 5 (1M context) GitHub: closes #763 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938305 13f79535-47bb-0310-9956-ffa450edef68 --- .github/workflows/sanity.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 330c754aa4..372d6597e9 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -8,8 +8,6 @@ on: push: branches: [ "*" ] paths-ignore: - - 'docs/**' - - '!docs/log-message-tags/**' - STATUS - CHANGES - README* @@ -18,8 +16,6 @@ on: pull_request: branches: [ "trunk", "2.4.x" ] paths-ignore: - - 'docs/**' - - '!docs/log-message-tags/**' - STATUS - CHANGES - README* @@ -54,3 +50,14 @@ jobs: sudo apt-get install -o Acquire::Retries=5 libapr1-dev libaprutil1-dev - name: Check for autoconf warnings run: ./buildconf --with-apr=/usr/bin/apr-1-config --with-errors + + docs: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v6 + - name: Install prerequisites + run: sudo apt-get -o Acquire::Retries=5 update && + sudo apt-get install -o Acquire::Retries=5 libxml2-utils w3c-sgml-lib + - name: Check docs XML + run: ./test/gha-docs-check.sh