Skip to content

Commit

Permalink
Lint markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Oct 20, 2023
1 parent 9139d4d commit f94e84d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Markdown validation

on:
pull_request:
types: [opened, reopened, synchronize]
# TODO run only on md file changes

jobs:
lint-changelog:
name: Markdown validation
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Lint files
uses: avto-dev/markdown-lint@v1.5.0
with:
# rules: '/lint/rules/changelog.js'
# config: '/lint/config/changelog.yml'
args: '**.md'
# ignore: './one_file.md ./another_file.md' # multiple files must be separated with single space

0 comments on commit f94e84d

Please sign in to comment.