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