Skip to content

Commit b8b0cca

Browse files
rdmuellerclaude
andcommitted
Add AsciiDoc linter CI workflow
Runs doctoolchain/asciidoc-linter on all .adoc files in src/docs/ on push to main and on pull requests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 208592a commit b8b0cca

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: AsciiDoc Linter
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'src/docs/**/*.adoc'
7+
push:
8+
branches: [main]
9+
paths:
10+
- 'src/docs/**/*.adoc'
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.12'
24+
25+
- name: Install AsciiDoc Linter
26+
run: |
27+
pip install git+https://github.com/doctoolchain/asciidoc-linter.git
28+
29+
- name: Run AsciiDoc Linter
30+
run: |
31+
echo "Linting AsciiDoc files..."
32+
asciidoc-linter src/docs/*.adoc --format console

0 commit comments

Comments
 (0)