docs(sre): mirror DE anchor attributes + sync plugins catalog #188
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: AsciiDoc Linter | |
| on: | |
| pull_request: | |
| paths: | |
| - 'docs/anchors/**/*.adoc' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/anchors/**/*.adoc' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install AsciiDoc Linter | |
| run: | | |
| pip install git+https://github.com/doctoolchain/asciidoc-linter.git | |
| - name: Run AsciiDoc Linter | |
| run: | | |
| echo "Linting AsciiDoc anchor files..." | |
| asciidoc-linter docs/anchors/*.adoc --format console --config .asciidoc-linter.yml | |
| - name: Summary | |
| if: success() | |
| run: | | |
| echo "✓ All anchor files passed AsciiDoc linter validation" |