---
name: Markdown-lint
on: workflow_call
env:
   REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
   GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
jobs:
  markdown-lint:
    runs-on: ubuntu-24.04
    permissions:
      contents: read
      pull-requests: write
    steps:
       - uses: actions/checkout@v5
       - name: Markdown-lint
         uses: reviewdog/action-markdownlint@v0
         with:
            fail_level: any
            markdownlint_flags: '-s .mdl_style.rb'
            reporter: github-pr-review
