From 1eecd643adf0d3d2ffded0d6c7b28c42f0bfe31b Mon Sep 17 00:00:00 2001 From: Jacob Kraniak <113630934+jacob-kraniak@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:22:24 -0500 Subject: [PATCH] Add GitHub Action for linting Markdown files --- .github/workflows/markdown-link.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/markdown-link.yml diff --git a/.github/workflows/markdown-link.yml b/.github/workflows/markdown-link.yml new file mode 100644 index 0000000..e47f1ea --- /dev/null +++ b/.github/workflows/markdown-link.yml @@ -0,0 +1,22 @@ +name: Lint Markdown + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ master ] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # needed for some linters + + - name: Lint Markdown files + uses: nosborn/github-action-markdown-cli@v3 + with: + files: . + config_file: ".markdownlint.json" + ignore_path: ".markdownlintignore"