Skip to content

Commit

Permalink
Add Markdown linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Jul 2, 2024
1 parent 3d89fd2 commit 8556b77
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint-markdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Lint Markdown"

on:
merge_group:
pull_request:
push:
branches: [ master ]

jobs:
lint_project:
name: "Lint Markdown"
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: 'docs/*.md'

0 comments on commit 8556b77

Please sign in to comment.