Skip to content

v3: Add support for consistent documentation using markdownlint #6

v3: Add support for consistent documentation using markdownlint

v3: Add support for consistent documentation using markdownlint #6

Workflow file for this run

name: markdownlint
on:
push:
branches:
- master
- main
paths:
- "**.md"
pull_request:
paths:
- "**.md"
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Run markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: |
**/*.md
- name: Run write-good
id: write-good
uses: tomwhross/[email protected]
- run: echo "${{ steps.write-good.outputs.result }}"
- name: Post suggestions to Pull Request
uses: mshick/add-pr-comment@v2
if: ${{ steps.write-good.outputs.result }}
with:
message: |
${{ steps.write-good.outputs.result }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false