diff --git a/.github/workflows/lint-markdown.yml b/.github/workflows/lint-markdown.yml new file mode 100644 index 000000000..829afa30d --- /dev/null +++ b/.github/workflows/lint-markdown.yml @@ -0,0 +1,24 @@ +name: "Lint Markdown" + +on: + merge_group: + pull_request: + push: + branches: [ master ] + +jobs: + lint_project: + name: "Lint Markdown" + runs-on: ubuntu-latest + permissions: + statuses: write + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Lint Markdown + uses: DavidAnson/markdownlint-cli2-action@v16 + with: + globs: 'docs/*.md'