name: Lint Markdown files

on: [pull_request]

jobs:
  markdown-lint:
    runs-on: ubuntu-latest

    container:
      image: pipelinecomponents/markdownlint:latest

    steps:
    - uses: actions/checkout@v1

    - name: Lint Markdown files
      run: mdl -g .

Enable MD linting via custom GitHub Action
Enable MD linting via custom GitHub Action

Signed-off-by: Ben Alkov <945e3ffa8c419b64848c60660cf17a9e7e2880d1@redhat.com>
