From c2f85a30e76388ab1e1f67e4d98f1413f6db006b Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sat, 2 Apr 2022 22:34:56 -0500 Subject: [PATCH] ci: Workflow for markdown lint --- .github/workflows/markdown-lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/markdown-lint.yml diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml new file mode 100644 index 00000000..c963abeb --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,25 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json +name: Markdown Lint + +on: + push: + paths: + - "**.md" + - "!src/**" + +env: + dotnetVersion: "6.0.x" + +jobs: + markdownlint: + name: Markdown Lint + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Lint Markdown Files + uses: DavidAnson/markdownlint-cli2-action@v5 + with: + globs: | + **.md + !src/**