mirror of
https://github.com/apache/httpd.git
synced 2026-10-23 22:49:01 +03:00
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) <noreply@anthropic.com> GitHub: closes #763 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
15
.github/workflows/sanity.yml
vendored
15
.github/workflows/sanity.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user