diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml new file mode 100644 index 000000000..b895752c0 --- /dev/null +++ b/.github/workflows/markdownlint.yml @@ -0,0 +1,23 @@ +# Check formatting of markdown files +name: Markdown Lint + +on: + push: + branches: [ "master" "development" ] + pull_request: + branches: [ "master" "development" ] + workflow_dispatch: + +jobs: + markdown-lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Run MarkdownLint + uses: DavidAnson/markdownlint-cli2-action@v18.0.0 + with: + fix: true + globs: '**/*.md'