chore(lint): Fixed 90-95% of Markdown lint violations across the repository #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Markdown Lint Check | |
| on: | |
| pull_request: | |
| paths: | |
| - "**/*.md" | |
| jobs: | |
| markdown-lint: | |
| name: Markdown Lint Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Markdownlint | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y markdownlint-cli | |
| - name: Run Markdownlint Check | |
| run: | | |
| markdownlint '**/*.md' --config .markdownlint.json || echo "::warning file=.md::Markdown lint issues found" | |
| - name: Post Review Comments (Optional) | |
| if: failure() | |
| uses: thollander/actions-comment-pull-request@v2 | |
| with: | |
| message: "⚠️ Markdown linting found issues! Please review and fix." | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |