Skip to content

Fix WS001 false positive with bold syntax (Issue #41) #36

Fix WS001 false positive with bold syntax (Issue #41)

Fix WS001 false positive with bold syntax (Issue #41) #36

name: AsciiDoc Linter Action
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t asciidoc-linter .
- name: Run AsciiDoc Linter
run: |
# Lint only root-level .adoc files for now (docs/ needs cleanup)
for file in *.adoc; do
if [ -f "$file" ]; then
docker run --rm -v ${{ github.workspace }}:/docs asciidoc-linter "$file"
fi
done