Skip to content

Merge pull request #426 from Sharpie/server-8151-breaks-ipv6-dns #797

Merge pull request #426 from Sharpie/server-8151-breaks-ipv6-dns

Merge pull request #426 from Sharpie/server-8151-breaks-ipv6-dns #797

Workflow file for this run

---
name: Markdown Lint
on:
pull_request: {}
push:
branches:
- master
workflow_dispatch: {}
permissions:
contents: read
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: List tracked Markdown files
id: tracked-markdown
shell: bash
# Lint git-tracked files only. This lints the canonical versioned dirs
# once and skips the `_latest` symlinks (git stores them as single
# symlink entries, so a filesystem glob would double-lint their targets).
# It also excludes generated reference docs, which are gitignored.
run: |
{
echo 'files<<EOF'
git ls-files '*.md' '*.markdown'
echo 'EOF'
} >> "${GITHUB_OUTPUT}"
- name: Lint tracked Markdown files
uses: DavidAnson/markdownlint-cli2-action@v24
with:
globs: ${{ steps.tracked-markdown.outputs.files }}