Skip to content

Commit

Permalink
Add markdownlint.yml for checking all markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
philipcardiff committed Dec 17, 2024
1 parent cefb628 commit 178c60d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Check formatting of markdown files
name: Markdown Lint

on:
push:
branches: [ "master" "development" ]
pull_request:
branches: [ "master" "development" ]
workflow_dispatch:

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

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Run MarkdownLint
uses: DavidAnson/markdownlint-cli2-action@v18.0.0
with:
fix: true
globs: '**/*.md'

0 comments on commit 178c60d

Please sign in to comment.